Enum fuel_asm::PanicReason[][src]

#[repr(u8)]
pub enum PanicReason {
Show 256 variants RESERV00, Revert, OutOfGas, TransactionValidity, MemoryOverflow, ArithmeticOverflow, ContractNotFound, MemoryOwnership, NotEnoughBalance, ExpectedInternalContext, ColorNotFound, InputNotFound, OutputNotFound, WitnessNotFound, TransactionMaturity, InvalidMetadataIdentifier, MalformedCallStructure, ReservedRegisterNotWritable, ErrorFlag, InvalidImmediateValue, ExpectedCoinInput, MaxMemoryAccess, MemoryWriteOverlap, ContractNotInInputs, InternalBalanceOverflow, ContractMaxSize, ExpectedUnallocatedStack, MaxStaticContractsReached, TransferAmountCannotBeZero, ExpectedOutputVariable, ExpectedParentInternalContext, RESERV1F, RESERV20, RESERV21, RESERV22, RESERV23, RESERV24, RESERV25, RESERV26, RESERV27, RESERV28, RESERV29, RESERV2A, RESERV2B, RESERV2C, RESERV2D, RESERV2E, RESERV2F, RESERV30, RESERV31, RESERV32, RESERV33, RESERV34, RESERV35, RESERV36, RESERV37, RESERV38, RESERV39, RESERV3A, RESERV3B, RESERV3C, RESERV3D, RESERV3E, RESERV3F, RESERV40, RESERV41, RESERV42, RESERV43, RESERV44, RESERV45, RESERV46, RESERV47, RESERV48, RESERV49, RESERV4A, RESERV4B, RESERV4C, RESERV4D, RESERV4E, RESERV4F, RESERV50, RESERV51, RESERV52, RESERV53, RESERV54, RESERV55, RESERV56, RESERV57, RESERV58, RESERV59, RESERV5A, RESERV5B, RESERV5C, RESERV5D, RESERV5E, RESERV5F, RESERV60, RESERV61, RESERV62, RESERV63, RESERV64, RESERV65, RESERV66, RESERV67, RESERV68, RESERV69, RESERV6A, RESERV6B, RESERV6C, RESERV6D, RESERV6E, RESERV6F, RESERV70, RESERV71, RESERV72, RESERV73, RESERV74, RESERV75, RESERV76, RESERV77, RESERV78, RESERV79, RESERV7A, RESERV7B, RESERV7C, RESERV7D, RESERV7E, RESERV7F, RESERV80, RESERV81, RESERV82, RESERV83, RESERV84, RESERV85, RESERV86, RESERV87, RESERV88, RESERV89, RESERV8A, RESERV8B, RESERV8C, RESERV8D, RESERV8E, RESERV8F, RESERV90, RESERV91, RESERV92, RESERV93, RESERV94, RESERV95, RESERV96, RESERV97, RESERV98, RESERV99, RESERV9A, RESERV9B, RESERV9C, RESERV9D, RESERV9E, RESERV9F, RESERVA0, RESERVA1, RESERVA2, RESERVA3, RESERVA4, RESERVA5, RESERVA6, RESERVA7, RESERVA8, RESERVA9, RESERVAA, RESERVAB, RESERVAC, RESERVAD, RESERVAE, RESERVAF, RESERVB0, RESERVB1, RESERVB2, RESERVB3, RESERVB4, RESERVB5, RESERVB6, RESERVB7, RESERVB8, RESERVB9, RESERVBA, RESERVBB, RESERVBC, RESERVBD, RESERVBE, RESERVBF, RESERVC0, RESERVC1, RESERVC2, RESERVC3, RESERVC4, RESERVC5, RESERVC6, RESERVC7, RESERVC8, RESERVC9, RESERVCA, RESERVCB, RESERVCC, RESERVCD, RESERVCE, RESERVCF, RESERVD0, RESERVD1, RESERVD2, RESERVD3, RESERVD4, RESERVD5, RESERVD6, RESERVD7, RESERVD8, RESERVD9, RESERVDA, RESERVDB, RESERVDC, RESERVDD, RESERVDE, RESERVDF, RESERVE0, RESERVE1, RESERVE2, RESERVE3, RESERVE4, RESERVE5, RESERVE6, RESERVE7, RESERVE8, RESERVE9, RESERVEA, RESERVEB, RESERVEC, RESERVED, RESERVEE, RESERVEF, RESERVF0, RESERVF1, RESERVF2, RESERVF3, RESERVF4, RESERVF5, RESERVF6, RESERVF7, RESERVF8, RESERVF9, RESERVFA, RESERVFB, RESERVFC, RESERVFD, RESERVFE, RESERVFF,
}
Expand description

Panic reason representation for the interpreter.

Variants

RESERV00

Representation reserved per protocol.

Revert

Found RVRT instruction.

OutOfGas

Execution ran out of gas.

TransactionValidity

The transaction validity is violated.

MemoryOverflow

Attempt to write outside interpreter memory boundaries.

ArithmeticOverflow

Overflow while executing arithmetic operation.

ContractNotFound

Designed contract was not found in the storage.

MemoryOwnership

Memory ownership rules are violated.

NotEnoughBalance

The color balance isn’t enough for the instruction.

ExpectedInternalContext

The interpreter is expected to be in internal context.

ColorNotFound

The queried color was not found in the state.

InputNotFound

The provided input is not found in the transaction.

OutputNotFound

The provided output is not found in the transaction.

WitnessNotFound

The provided witness is not found in the transaction.

TransactionMaturity

The transaction maturity is not valid for this request.

InvalidMetadataIdentifier

The metadata identifier is invalid.

MalformedCallStructure

The call structure is not valid.

ReservedRegisterNotWritable

The provided register does not allow write operations.

ErrorFlag

The execution resulted in an erroneous state of the interpreter.

InvalidImmediateValue

The provided immediate value is not valid for this instruction.

ExpectedCoinInput

The provided transaction input is not of type Coin.

MaxMemoryAccess

The requested memory access exceeds the limits of the interpreter.

MemoryWriteOverlap

Two segments of the interpreter memory should not intersect for write operations.

ContractNotInInputs

The requested contract is not listed in the transaction inputs.

InternalBalanceOverflow

The internal color balance overflowed with the provided instruction.

ContractMaxSize

The maximum allowed contract size is violated.

ExpectedUnallocatedStack

This instruction expects the stack area to be unallocated for this call.

MaxStaticContractsReached

The maximum allowed number of static contracts was reached for this transaction.

TransferAmountCannotBeZero

The requested transfer amount cannot be zero.

ExpectedOutputVariable

The provided transaction output should be of type Variable.

ExpectedParentInternalContext

The expected context of the stack parent is internal.

RESERV1F

RESERV1F

RESERV20

RESERV20

RESERV21

RESERV21

RESERV22

RESERV22

RESERV23

RESERV23

RESERV24

RESERV24

RESERV25

RESERV25

RESERV26

RESERV26

RESERV27

RESERV27

RESERV28

RESERV28

RESERV29

RESERV29

RESERV2A

RESERV2A

RESERV2B

RESERV2B

RESERV2C

RESERV2C

RESERV2D

RESERV2D

RESERV2E

RESERV2E

RESERV2F

RESERV2F

RESERV30

RESERV30

RESERV31

RESERV31

RESERV32

RESERV32

RESERV33

RESERV33

RESERV34

RESERV34

RESERV35

RESERV35

RESERV36

RESERV36

RESERV37

RESERV37

RESERV38

RESERV38

RESERV39

RESERV39

RESERV3A

RESERV3A

RESERV3B

RESERV3B

RESERV3C

RESERV3C

RESERV3D

RESERV3D

RESERV3E

RESERV3E

RESERV3F

RESERV3F

RESERV40

RESERV40

RESERV41

RESERV41

RESERV42

RESERV42

RESERV43

RESERV43

RESERV44

RESERV44

RESERV45

RESERV45

RESERV46

RESERV46

RESERV47

RESERV47

RESERV48

RESERV48

RESERV49

RESERV49

RESERV4A

RESERV4A

RESERV4B

RESERV4B

RESERV4C

RESERV4C

RESERV4D

RESERV4D

RESERV4E

RESERV4E

RESERV4F

RESERV4F

RESERV50

RESERV50

RESERV51

RESERV51

RESERV52

RESERV52

RESERV53

RESERV53

RESERV54

RESERV54

RESERV55

RESERV55

RESERV56

RESERV56

RESERV57

RESERV57

RESERV58

RESERV58

RESERV59

RESERV59

RESERV5A

RESERV5A

RESERV5B

RESERV5B

RESERV5C

RESERV5C

RESERV5D

RESERV5D

RESERV5E

RESERV5E

RESERV5F

RESERV5F

RESERV60

RESERV60

RESERV61

RESERV61

RESERV62

RESERV62

RESERV63

RESERV63

RESERV64

RESERV64

RESERV65

RESERV65

RESERV66

RESERV66

RESERV67

RESERV67

RESERV68

RESERV68

RESERV69

RESERV69

RESERV6A

RESERV6A

RESERV6B

RESERV6B

RESERV6C

RESERV6C

RESERV6D

RESERV6D

RESERV6E

RESERV6E

RESERV6F

RESERV6F

RESERV70

RESERV70

RESERV71

RESERV71

RESERV72

RESERV72

RESERV73

RESERV73

RESERV74

RESERV74

RESERV75

RESERV75

RESERV76

RESERV76

RESERV77

RESERV77

RESERV78

RESERV78

RESERV79

RESERV79

RESERV7A

RESERV7A

RESERV7B

RESERV7B

RESERV7C

RESERV7C

RESERV7D

RESERV7D

RESERV7E

RESERV7E

RESERV7F

RESERV7F

RESERV80

RESERV80

RESERV81

RESERV81

RESERV82

RESERV82

RESERV83

RESERV83

RESERV84

RESERV84

RESERV85

RESERV85

RESERV86

RESERV86

RESERV87

RESERV87

RESERV88

RESERV88

RESERV89

RESERV89

RESERV8A

RESERV8A

RESERV8B

RESERV8B

RESERV8C

RESERV8C

RESERV8D

RESERV8D

RESERV8E

RESERV8E

RESERV8F

RESERV8F

RESERV90

RESERV90

RESERV91

RESERV91

RESERV92

RESERV92

RESERV93

RESERV93

RESERV94

RESERV94

RESERV95

RESERV95

RESERV96

RESERV96

RESERV97

RESERV97

RESERV98

RESERV98

RESERV99

RESERV99

RESERV9A

RESERV9A

RESERV9B

RESERV9B

RESERV9C

RESERV9C

RESERV9D

RESERV9D

RESERV9E

RESERV9E

RESERV9F

RESERV9F

RESERVA0

RESERVA0

RESERVA1

RESERVA1

RESERVA2

RESERVA2

RESERVA3

RESERVA3

RESERVA4

RESERVA4

RESERVA5

RESERVA5

RESERVA6

RESERVA6

RESERVA7

RESERVA7

RESERVA8

RESERVA8

RESERVA9

RESERVA9

RESERVAA

RESERVAA

RESERVAB

RESERVAB

RESERVAC

RESERVAC

RESERVAD

RESERVAD

RESERVAE

RESERVAE

RESERVAF

RESERVAF

RESERVB0

RESERVB0

RESERVB1

RESERVB1

RESERVB2

RESERVB2

RESERVB3

RESERVB3

RESERVB4

RESERVB4

RESERVB5

RESERVB5

RESERVB6

RESERVB6

RESERVB7

RESERVB7

RESERVB8

RESERVB8

RESERVB9

RESERVB9

RESERVBA

RESERVBA

RESERVBB

RESERVBB

RESERVBC

RESERVBC

RESERVBD

RESERVBD

RESERVBE

RESERVBE

RESERVBF

RESERVBF

RESERVC0

RESERVC0

RESERVC1

RESERVC1

RESERVC2

RESERVC2

RESERVC3

RESERVC3

RESERVC4

RESERVC4

RESERVC5

RESERVC5

RESERVC6

RESERVC6

RESERVC7

RESERVC7

RESERVC8

RESERVC8

RESERVC9

RESERVC9

RESERVCA

RESERVCA

RESERVCB

RESERVCB

RESERVCC

RESERVCC

RESERVCD

RESERVCD

RESERVCE

RESERVCE

RESERVCF

RESERVCF

RESERVD0

RESERVD0

RESERVD1

RESERVD1

RESERVD2

RESERVD2

RESERVD3

RESERVD3

RESERVD4

RESERVD4

RESERVD5

RESERVD5

RESERVD6

RESERVD6

RESERVD7

RESERVD7

RESERVD8

RESERVD8

RESERVD9

RESERVD9

RESERVDA

RESERVDA

RESERVDB

RESERVDB

RESERVDC

RESERVDC

RESERVDD

RESERVDD

RESERVDE

RESERVDE

RESERVDF

RESERVDF

RESERVE0

RESERVE0

RESERVE1

RESERVE1

RESERVE2

RESERVE2

RESERVE3

RESERVE3

RESERVE4

RESERVE4

RESERVE5

RESERVE5

RESERVE6

RESERVE6

RESERVE7

RESERVE7

RESERVE8

RESERVE8

RESERVE9

RESERVE9

RESERVEA

RESERVEA

RESERVEB

RESERVEB

RESERVEC

RESERVEC

RESERVED

RESERVED

RESERVEE

RESERVEE

RESERVEF

RESERVEF

RESERVF0

RESERVF0

RESERVF1

RESERVF1

RESERVF2

RESERVF2

RESERVF3

RESERVF3

RESERVF4

RESERVF4

RESERVF5

RESERVF5

RESERVF6

RESERVF6

RESERVF7

RESERVF7

RESERVF8

RESERVF8

RESERVF9

RESERVF9

RESERVFA

RESERVFA

RESERVFB

RESERVFB

RESERVFC

RESERVFC

RESERVFD

RESERVFD

RESERVFE

RESERVFE

RESERVFF

RESERVFF

Implementations

Const fn implementation of From<u8>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.