ExecutionError
type ExecutionError
An error that can occur during the execution of a transaction
BCS
The BCS serialized form for this type is defined by the following ABNF:
```text
execution-error = insufficient-gas =/ invalid-gas-object =/ invariant-violation =/ feature-not-yet-supported =/ object-too-big =/ package-too-big =/ circular-object-ownership =/ insufficient-coin-balance =/ coin-balance-overflow =/ publish-error-non-zero-address =/ iota-move-verification-error =/ move-primitive-runtime-error =/ move-abort =/ vm-verification-or-deserialization-error =/ vm-invariant-violation =/ function-not-found =/ arity-mismatch =/ type-arity-mismatch =/ non-entry-function-invoked =/ command-argument-error =/ type-argument-error =/ unused-value-without-drop =/ invalid-public-function-return-type =/ invalid-transfer-object =/ effects-too-large =/ publish-upgrade-missing-dependency =/ publish-upgrade-dependency-downgrade =/ package-upgrade-error =/ written-objects-too-large =/ certificate-denied =/ iota-move-verification-timeout =/ shared-object-operation-not-allowed =/ input-object-deleted =/ execution-canceled-due-to-shared-object-congestion =/ address-denied-for-coin =/ coin-type-global-pause =/ execution-canceled-due-to-randomness-unavailable =/ execution-canceled-due-to-shared-object-congestion-v2 =/ invalid-linkage =/ move-authentication-error =/ execution-canceled-due-to-execution-worker-congestion
insufficient-gas = %d00 invalid-gas-object = %d01 invariant-violation = %d02 feature-not-yet-supported = %d03 object-too-big = %d04 u64 u64 package-too-big = %d05 u64 u64 circular-object-ownership = %d06 object-id insufficient-coin-balance = %d07 coin-balance-overflow = %d08 publish-error-non-zero-address = %d09 iota-move-verification-error = %d10 move-primitive-runtime-error = %d11 (option move-location) move-abort = %d12 move-location u64 vm-verification-or-deserialization-error = %d13 vm-invariant-violation = %d14 function-not-found = %d15 arity-mismatch = %d16 type-arity-mismatch = %d17 non-entry-function-invoked = %d18 command-argument-error = %d19 u16 command-argument-error type-argument-error = %d20 u16 type-argument-error unused-value-without-drop = %d21 u16 u16 invalid-public-function-return-type = %d22 u16 invalid-transfer-object = %d23 effects-too-large = %d24 u64 u64 publish-upgrade-missing-dependency = %d25 publish-upgrade-dependency-downgrade = %d26 package-upgrade-error = %d27 package-upgrade-error written-objects-too-large = %d28 u64 u64 certificate-denied = %d29 iota-move-verification-timeout = %d30 shared-object-operation-not-allowed = %d31 input-object-deleted = %d32 execution-canceled-due-to-shared-object-congestion = %d33 (vector object-id) address-denied-for-coin = %d34 address string coin-type-global-pause = %d35 string execution-canceled-due-to-randomness-unavailable = %d36 execution-canceled-due-to-shared-object-congestion-v2 = %d37 (vector object-id) u64 invalid-linkage = %d38 move-authentication-error = %d39 execution-error execution-canceled-due-to-execution-worker-congestion = %d40 u64 ```
type ExecutionError interface {
Destroy()
}
func ExecutionErrorFromBcs
func ExecutionErrorFromBcs(bcs []byte) (ExecutionError, error)
Create this type from BCS encoded bytes.
func ExecutionErrorFromJson
func ExecutionErrorFromJson(json string) (ExecutionError, error)
Create this type from JSON encoded string.