Skip to main content

ExecutionError

sealed class ExecutionError : Disposable

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:

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

Inheritors​

InsufficientGas
InvalidGasObject
InvariantViolation
FeatureNotYetSupported
ObjectTooBig
PackageTooBig
CircularObjectOwnership
InsufficientCoinBalance
CoinBalanceOverflow
PublishErrorNonZeroAddress
IotaMoveVerification
MovePrimitiveRuntime
MoveAbort
VmVerificationOrDeserialization
VmInvariantViolation
FunctionNotFound
ArityMismatch
TypeArityMismatch
NonEntryFunctionInvoked
CommandArgument
TypeArgument
UnusedValueWithoutDrop
InvalidPublicFunctionReturnType
InvalidTransferObject
EffectsTooLarge
PublishUpgradeMissingDependency
PublishUpgradeDependencyDowngrade
PackageUpgrade
WrittenObjectsTooLarge
CertificateDenied
IotaMoveVerificationTimeout
SharedObjectOperationNotAllowed
InputObjectDeleted
ExecutionCanceledDueToSharedObjectCongestion
ExecutionCanceledDueToSharedObjectCongestionV2
AddressDeniedForCoin
CoinTypeGlobalPause
ExecutionCanceledDueToRandomnessUnavailable
InvalidLinkage
MoveAuthentication
ExecutionCanceledDueToExecutionWorkerCongestion

Types​

NameSummary
AddressDeniedForCoindata class AddressDeniedForCoin(val address: Address, val coinType: String) : ExecutionError
Address is denied for this coin type
ArityMismatchobject ArityMismatch : ExecutionError
Arity mismatch for Move function. The number of arguments does not match the number of parameters
CertificateDeniedobject CertificateDenied : ExecutionError
Certificate is on the deny list
CircularObjectOwnershipdata class CircularObjectOwnership(val object: ObjectId) : ExecutionError
Circular Object Ownership
CoinBalanceOverflowobject CoinBalanceOverflow : ExecutionError
Coin balance overflowed an u64
CoinTypeGlobalPausedata class CoinTypeGlobalPause(val coinType: String) : ExecutionError
Coin type is globally paused for use
CommandArgumentdata class CommandArgument(val argument: UShort, val kind: CommandArgumentError) : ExecutionError
Invalid command argument
EffectsTooLargedata class EffectsTooLarge(val currentSize: ULong, val maxSize: ULong) : ExecutionError
Effects from the transaction are too large
ExecutionCanceledDueToExecutionWorkerCongestiondata class ExecutionCanceledDueToExecutionWorkerCongestion(val suggestedGasPrice: ULong) : ExecutionError
Certificate is canceled because the execution workers are congested; suggested gas price can be used to give this certificate more priority. No individual object is responsible, so none is reported.
ExecutionCanceledDueToRandomnessUnavailableobject ExecutionCanceledDueToRandomnessUnavailable : ExecutionError
Certificate is canceled because randomness could not be generated this epoch
ExecutionCanceledDueToSharedObjectCongestiondata class ExecutionCanceledDueToSharedObjectCongestion(val congestedObjects: List<ObjectId>) : ExecutionError
Certificate is canceled due to congestion on shared objects
ExecutionCanceledDueToSharedObjectCongestionV2data class ExecutionCanceledDueToSharedObjectCongestionV2(val congestedObjects: List<ObjectId>, val suggestedGasPrice: ULong) : ExecutionError
Certificate is canceled due to congestion on shared objects; suggested gas price can be used to give this certificate more priority.
FeatureNotYetSupportedobject FeatureNotYetSupported : ExecutionError
Attempted to used feature that is not supported yet
FunctionNotFoundobject FunctionNotFound : ExecutionError
Function not found
InputObjectDeletedobject InputObjectDeleted : ExecutionError
Requested shared object has been deleted
InsufficientCoinBalanceobject InsufficientCoinBalance : ExecutionError
Insufficient coin balance for requested operation
InsufficientGasobject InsufficientGas : ExecutionError
Insufficient Gas
InvalidGasObjectobject InvalidGasObject : ExecutionError
Invalid Gas Object.
InvalidLinkageobject InvalidLinkage : ExecutionError
A valid linkage was unable to be determined for the transaction or one of its commands.
InvalidPublicFunctionReturnTypedata class InvalidPublicFunctionReturnType(val index: UShort) : ExecutionError
Invalid public Move function signature. Unsupported return type for return value
InvalidTransferObjectobject InvalidTransferObject : ExecutionError
Invalid Transfer Object, object does not have public transfer.
InvariantViolationobject InvariantViolation : ExecutionError
Invariant Violation
IotaMoveVerificationobject IotaMoveVerification : ExecutionError
IOTA Move Bytecode Verification Error.
IotaMoveVerificationTimeoutobject IotaMoveVerificationTimeout : ExecutionError
IOTA Move Bytecode verification timed out.
MoveAbortdata class MoveAbort(val location: MoveLocation, val code: ULong) : ExecutionError
Move runtime abort
MoveAuthenticationdata class MoveAuthentication(val error: ExecutionErrorWrapper) : ExecutionError
The transaction's Move-based authentication failed while executing an authenticator, before the programmable transaction was run. The wrapped error is the failure produced by the authenticator's execution.
MovePrimitiveRuntimedata class MovePrimitiveRuntime(val location: MoveLocation?) : ExecutionError
Error from a non-abort instruction. Possible causes: Arithmetic error, stack overflow, max value depth, etc."
NonEntryFunctionInvokedobject NonEntryFunctionInvoked : ExecutionError
Non Entry Function Invoked. Move Call must start with an entry function.
ObjectTooBigdata class ObjectTooBig(val objectSize: ULong, val maxObjectSize: ULong) : ExecutionError
Move object is larger than the maximum allowed size
PackageTooBigdata class PackageTooBig(val objectSize: ULong, val maxObjectSize: ULong) : ExecutionError
Package is larger than the maximum allowed size
PackageUpgradedata class PackageUpgrade(val kind: PackageUpgradeError) : ExecutionError
Invalid package upgrade
PublishErrorNonZeroAddressobject PublishErrorNonZeroAddress : ExecutionError
Publish Error, Non-zero Address. The modules in the package must have their self-addresses set to zero.
PublishUpgradeDependencyDowngradeobject PublishUpgradeDependencyDowngrade : ExecutionError
Publish or Upgrade dependency downgrade.
PublishUpgradeMissingDependencyobject PublishUpgradeMissingDependency : ExecutionError
Publish or Upgrade is missing dependency
SharedObjectOperationNotAllowedobject SharedObjectOperationNotAllowed : ExecutionError
The requested shared object operation is not allowed
TypeArgumentdata class TypeArgument(val typeArgument: UShort, val kind: TypeArgumentError) : ExecutionError
Type argument error
TypeArityMismatchobject TypeArityMismatch : ExecutionError
Type arity mismatch for Move function. Mismatch between the number of actual versus expected type arguments.
UnusedValueWithoutDropdata class UnusedValueWithoutDrop(val result: UShort, val subresult: UShort) : ExecutionError
Unused result without the drop ability.
VmInvariantViolationobject VmInvariantViolation : ExecutionError
MoveVm invariant violation
VmVerificationOrDeserializationobject VmVerificationOrDeserialization : ExecutionError
Bytecode verification error.
WrittenObjectsTooLargedata class WrittenObjectsTooLarge(val objectSize: ULong, val maxObjectSize: ULong) : ExecutionError
Indicates the transaction tried to write objects too large to storage

Functions​

NameSummary
destroyopen override fun destroy()

AddressDeniedForCoin​

data class AddressDeniedForCoin(val address: Address, val coinType: String) : ExecutionError

Address is denied for this coin type

Constructors​

AddressDeniedForCoinconstructor(address: Address, coinType: String)

Properties​

NameSummary
addressval address: Address
coinTypeval coinType: String

Functions​

NameSummary
destroyopen override fun destroy()

ArityMismatch​

object ArityMismatch : ExecutionError

Arity mismatch for Move function. The number of arguments does not match the number of parameters

Functions​

NameSummary
destroyopen override fun destroy()

CertificateDenied​

object CertificateDenied : ExecutionError

Certificate is on the deny list

Functions​

NameSummary
destroyopen override fun destroy()

CircularObjectOwnership​

data class CircularObjectOwnership(val object: ObjectId) : ExecutionError

Circular Object Ownership

Constructors​

CircularObjectOwnershipconstructor(object: ObjectId)

Properties​

NameSummary
objectval object: ObjectId

Functions​

NameSummary
destroyopen override fun destroy()

CoinBalanceOverflow​

object CoinBalanceOverflow : ExecutionError

Coin balance overflowed an u64

Functions​

NameSummary
destroyopen override fun destroy()

CoinTypeGlobalPause​

data class CoinTypeGlobalPause(val coinType: String) : ExecutionError

Coin type is globally paused for use

Constructors​

CoinTypeGlobalPauseconstructor(coinType: String)

Properties​

NameSummary
coinTypeval coinType: String

Functions​

NameSummary
destroyopen override fun destroy()

CommandArgument​

data class CommandArgument(val argument: UShort, val kind: CommandArgumentError) : ExecutionError

Invalid command argument

Constructors​

CommandArgumentconstructor(argument: UShort, kind: CommandArgumentError)

Properties​

NameSummary
argumentval argument: UShort
kindval kind: CommandArgumentError

Functions​

NameSummary
destroyopen override fun destroy()

EffectsTooLarge​

data class EffectsTooLarge(val currentSize: ULong, val maxSize: ULong) : ExecutionError

Effects from the transaction are too large

Constructors​

EffectsTooLargeconstructor(currentSize: ULong, maxSize: ULong)

Properties​

NameSummary
currentSizeval currentSize: ULong
maxSizeval maxSize: ULong

Functions​

NameSummary
destroyopen override fun destroy()

ExecutionCanceledDueToExecutionWorkerCongestion​

data class ExecutionCanceledDueToExecutionWorkerCongestion(val suggestedGasPrice: ULong) : ExecutionError

Certificate is canceled because the execution workers are congested; suggested gas price can be used to give this certificate more priority. No individual object is responsible, so none is reported.

Constructors​

ExecutionCanceledDueToExecutionWorkerCongestionconstructor(suggestedGasPrice: ULong)

Properties​

NameSummary
suggestedGasPriceval suggestedGasPrice: ULong

Functions​

NameSummary
destroyopen override fun destroy()

ExecutionCanceledDueToRandomnessUnavailable​

object ExecutionCanceledDueToRandomnessUnavailable : ExecutionError

Certificate is canceled because randomness could not be generated this epoch

Functions​

NameSummary
destroyopen override fun destroy()

ExecutionCanceledDueToSharedObjectCongestion​

data class ExecutionCanceledDueToSharedObjectCongestion(val congestedObjects: List<ObjectId>) : ExecutionError

Certificate is canceled due to congestion on shared objects

Constructors​

ExecutionCanceledDueToSharedObjectCongestionconstructor(congestedObjects: List<ObjectId>)

Properties​

NameSummary
congestedObjectsval congestedObjects: List<ObjectId>

Functions​

NameSummary
destroyopen override fun destroy()

ExecutionCanceledDueToSharedObjectCongestionV2​

data class ExecutionCanceledDueToSharedObjectCongestionV2(val congestedObjects: List<ObjectId>, val suggestedGasPrice: ULong) : ExecutionError

Certificate is canceled due to congestion on shared objects; suggested gas price can be used to give this certificate more priority.

Constructors​

ExecutionCanceledDueToSharedObjectCongestionV2constructor(congestedObjects: List<ObjectId>, suggestedGasPrice: ULong)

Properties​

NameSummary
congestedObjectsval congestedObjects: List<ObjectId>
suggestedGasPriceval suggestedGasPrice: ULong

Functions​

NameSummary
destroyopen override fun destroy()

FeatureNotYetSupported​

object FeatureNotYetSupported : ExecutionError

Attempted to used feature that is not supported yet

Functions​

NameSummary
destroyopen override fun destroy()

FunctionNotFound​

object FunctionNotFound : ExecutionError

Function not found

Functions​

NameSummary
destroyopen override fun destroy()

InputObjectDeleted​

object InputObjectDeleted : ExecutionError

Requested shared object has been deleted

Functions​

NameSummary
destroyopen override fun destroy()

InsufficientCoinBalance​

object InsufficientCoinBalance : ExecutionError

Insufficient coin balance for requested operation

Functions​

NameSummary
destroyopen override fun destroy()

InsufficientGas​

object InsufficientGas : ExecutionError

Insufficient Gas

Functions​

NameSummary
destroyopen override fun destroy()

InvalidGasObject​

object InvalidGasObject : ExecutionError

Invalid Gas Object.

Functions​

NameSummary
destroyopen override fun destroy()

InvalidLinkage​

object InvalidLinkage : ExecutionError

A valid linkage was unable to be determined for the transaction or one of its commands.

Functions​

NameSummary
destroyopen override fun destroy()

InvalidPublicFunctionReturnType​

data class InvalidPublicFunctionReturnType(val index: UShort) : ExecutionError

Invalid public Move function signature. Unsupported return type for return value

Constructors​

InvalidPublicFunctionReturnTypeconstructor(index: UShort)

Properties​

NameSummary
indexval index: UShort

Functions​

NameSummary
destroyopen override fun destroy()

InvalidTransferObject​

object InvalidTransferObject : ExecutionError

Invalid Transfer Object, object does not have public transfer.

Functions​

NameSummary
destroyopen override fun destroy()

InvariantViolation​

object InvariantViolation : ExecutionError

Invariant Violation

Functions​

NameSummary
destroyopen override fun destroy()

IotaMoveVerification​

object IotaMoveVerification : ExecutionError

IOTA Move Bytecode Verification Error.

Functions​

NameSummary
destroyopen override fun destroy()

IotaMoveVerificationTimeout​

object IotaMoveVerificationTimeout : ExecutionError

IOTA Move Bytecode verification timed out.

Functions​

NameSummary
destroyopen override fun destroy()

MoveAbort​

data class MoveAbort(val location: MoveLocation, val code: ULong) : ExecutionError

Move runtime abort

Constructors​

MoveAbortconstructor(location: MoveLocation, code: ULong)

Properties​

NameSummary
codeval code: ULong
locationval location: MoveLocation

Functions​

NameSummary
destroyopen override fun destroy()

MoveAuthentication​

data class MoveAuthentication(val error: ExecutionErrorWrapper) : ExecutionError

The transaction's Move-based authentication failed while executing an authenticator, before the programmable transaction was run. The wrapped error is the failure produced by the authenticator's execution.

Constructors​

MoveAuthenticationconstructor(error: ExecutionErrorWrapper)

Properties​

NameSummary
errorval error: ExecutionErrorWrapper

Functions​

NameSummary
destroyopen override fun destroy()

MovePrimitiveRuntime​

data class MovePrimitiveRuntime(val location: MoveLocation?) : ExecutionError

Error from a non-abort instruction. Possible causes: Arithmetic error, stack overflow, max value depth, etc."

Constructors​

MovePrimitiveRuntimeconstructor(location: MoveLocation?)

Properties​

NameSummary
locationval location: MoveLocation?

Functions​

NameSummary
destroyopen override fun destroy()

NonEntryFunctionInvoked​

object NonEntryFunctionInvoked : ExecutionError

Non Entry Function Invoked. Move Call must start with an entry function.

Functions​

NameSummary
destroyopen override fun destroy()

ObjectTooBig​

data class ObjectTooBig(val objectSize: ULong, val maxObjectSize: ULong) : ExecutionError

Move object is larger than the maximum allowed size

Constructors​

ObjectTooBigconstructor(objectSize: ULong, maxObjectSize: ULong)

Properties​

NameSummary
maxObjectSizeval maxObjectSize: ULong
objectSizeval objectSize: ULong

Functions​

NameSummary
destroyopen override fun destroy()

PackageTooBig​

data class PackageTooBig(val objectSize: ULong, val maxObjectSize: ULong) : ExecutionError

Package is larger than the maximum allowed size

Constructors​

PackageTooBigconstructor(objectSize: ULong, maxObjectSize: ULong)

Properties​

NameSummary
maxObjectSizeval maxObjectSize: ULong
objectSizeval objectSize: ULong

Functions​

NameSummary
destroyopen override fun destroy()

PackageUpgrade​

data class PackageUpgrade(val kind: PackageUpgradeError) : ExecutionError

Invalid package upgrade

Constructors​

PackageUpgradeconstructor(kind: PackageUpgradeError)

Properties​

NameSummary
kindval kind: PackageUpgradeError

Functions​

NameSummary
destroyopen override fun destroy()

PublishErrorNonZeroAddress​

object PublishErrorNonZeroAddress : ExecutionError

Publish Error, Non-zero Address. The modules in the package must have their self-addresses set to zero.

Functions​

NameSummary
destroyopen override fun destroy()

PublishUpgradeDependencyDowngrade​

object PublishUpgradeDependencyDowngrade : ExecutionError

Publish or Upgrade dependency downgrade.

Indirect (transitive) dependency of published or upgraded package has been assigned an on-chain version that is less than the version required by one of the package's transitive dependencies.

Functions​

NameSummary
destroyopen override fun destroy()

PublishUpgradeMissingDependency​

object PublishUpgradeMissingDependency : ExecutionError

Publish or Upgrade is missing dependency

Functions​

NameSummary
destroyopen override fun destroy()

SharedObjectOperationNotAllowed​

object SharedObjectOperationNotAllowed : ExecutionError

The requested shared object operation is not allowed

Functions​

NameSummary
destroyopen override fun destroy()

TypeArgument​

data class TypeArgument(val typeArgument: UShort, val kind: TypeArgumentError) : ExecutionError

Type argument error

Constructors​

TypeArgumentconstructor(typeArgument: UShort, kind: TypeArgumentError)

Properties​

NameSummary
kindval kind: TypeArgumentError
typeArgumentval typeArgument: UShort
Index of the problematic type argument

Functions​

NameSummary
destroyopen override fun destroy()

TypeArityMismatch​

object TypeArityMismatch : ExecutionError

Type arity mismatch for Move function. Mismatch between the number of actual versus expected type arguments.

Functions​

NameSummary
destroyopen override fun destroy()

UnusedValueWithoutDrop​

data class UnusedValueWithoutDrop(val result: UShort, val subresult: UShort) : ExecutionError

Unused result without the drop ability.

Constructors​

UnusedValueWithoutDropconstructor(result: UShort, subresult: UShort)

Properties​

NameSummary
resultval result: UShort
subresultval subresult: UShort

Functions​

NameSummary
destroyopen override fun destroy()

VmInvariantViolation​

object VmInvariantViolation : ExecutionError

MoveVm invariant violation

Functions​

NameSummary
destroyopen override fun destroy()

VmVerificationOrDeserialization​

object VmVerificationOrDeserialization : ExecutionError

Bytecode verification error.

Functions​

NameSummary
destroyopen override fun destroy()

WrittenObjectsTooLarge​

data class WrittenObjectsTooLarge(val objectSize: ULong, val maxObjectSize: ULong) : ExecutionError

Indicates the transaction tried to write objects too large to storage

Constructors​

WrittenObjectsTooLargeconstructor(objectSize: ULong, maxObjectSize: ULong)

Properties​

NameSummary
maxObjectSizeval maxObjectSize: ULong
objectSizeval objectSize: ULong

Functions​

NameSummary
destroyopen override fun destroy()