ExecutionError
sealed class ExecutionError : Disposable
An error that can occur during the execution of a transaction
BCS
The BCS serialized form of this type is specified in bcs-schema.abnf.
Inheritors
Types
| Name | Summary |
|---|---|
| AccountNotSharedObject | data class AccountNotSharedObject(val objectId: ObjectId) : ExecutionError The account object named by a Move authenticator is not a shared object: it is immutable, or owned by an address or by another object. An account must be shared so that a transaction carrying a Move authenticator is ordered by consensus. |
| AddressDeniedForCoin | data class AddressDeniedForCoin(val address: Address, val coinType: String) : ExecutionError Address is denied for this coin type |
| ArityMismatch | object ArityMismatch : ExecutionError Arity mismatch for Move function. The number of arguments does not match the number of parameters |
| AuthenticatorFunctionNotFound | data class AuthenticatorFunctionNotFound(val objectId: ObjectId) : ExecutionError The account object named by a Move authenticator has no authenticator function: the object has no authenticator function field, or the field cannot be read. Nothing can authenticate the transaction. |
| CertificateDenied | object CertificateDenied : ExecutionError Certificate is on the deny list |
| CircularObjectOwnership | data class CircularObjectOwnership(val object: ObjectId) : ExecutionError Circular Object Ownership |
| CoinBalanceOverflow | object CoinBalanceOverflow : ExecutionError Coin balance overflowed an u64 |
| CoinTypeGlobalPause | data class CoinTypeGlobalPause(val coinType: String) : ExecutionError Coin type is globally paused for use |
| CommandArgument | data class CommandArgument(val argument: UShort, val kind: CommandArgumentError) : ExecutionError Invalid command argument |
| EffectsTooLarge | data class EffectsTooLarge(val currentSize: ULong, val maxSize: ULong) : ExecutionError Effects from the transaction are too large |
| 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. |
| ExecutionCanceledDueToRandomnessUnavailable | object ExecutionCanceledDueToRandomnessUnavailable : ExecutionError Certificate is canceled because randomness could not be generated this epoch |
| ExecutionCanceledDueToSharedObjectCongestion | data class ExecutionCanceledDueToSharedObjectCongestion(val congestedObjects: List<ObjectId>) : ExecutionError Certificate is canceled due to congestion on shared objects |
| 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. |
| FeatureNotYetSupported | object FeatureNotYetSupported : ExecutionError Attempted to used feature that is not supported yet |
| FunctionNotFound | object FunctionNotFound : ExecutionError Function not found |
| InputObjectDeleted | object InputObjectDeleted : ExecutionError Requested shared object has been deleted |
| InsufficientCoinBalance | object InsufficientCoinBalance : ExecutionError Insufficient coin balance for requested operation |
| InsufficientGas | object InsufficientGas : ExecutionError Insufficient Gas |
| InvalidGasObject | object InvalidGasObject : ExecutionError Invalid Gas Object. |
| InvalidLinkage | object InvalidLinkage : ExecutionError A valid linkage was unable to be determined for the transaction or one of its commands. |
| InvalidPublicFunctionReturnType | data class InvalidPublicFunctionReturnType(val index: UShort) : ExecutionError Invalid public Move function signature. Unsupported return type for return value |
| InvalidTransferObject | object InvalidTransferObject : ExecutionError Invalid Transfer Object, object does not have public transfer. |
| InvariantViolation | object InvariantViolation : ExecutionError Invariant Violation |
| IotaMoveVerification | object IotaMoveVerification : ExecutionError IOTA Move Bytecode Verification Error. |
| IotaMoveVerificationTimeout | object IotaMoveVerificationTimeout : ExecutionError IOTA Move Bytecode verification timed out. |
| MoveAbort | data class MoveAbort(val location: MoveLocation, val code: ULong) : ExecutionError Move runtime abort |
| 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. |
| MovePrimitiveRuntime | data class MovePrimitiveRuntime(val location: MoveLocation?) : ExecutionError Error from a non-abort instruction. Possible causes: Arithmetic error, stack overflow, max value depth, etc." |
| MoveRawValueTooBig | data class MoveRawValueTooBig(val valueSize: ULong, val maxScaledSize: ULong) : ExecutionError Move value (possibly an upgrade ticket or a dev-inspect value) is larger than the maximum size. The maximum is scaled based on the type of the value. |
| MoveVectorElemTooBig | data class MoveVectorElemTooBig(val valueSize: ULong, val maxScaledSize: ULong) : ExecutionError Move vector element (passed to MakeMoveVec) is larger than the maximum size. The maximum is scaled based on the type of the vector element. |
| NonEntryFunctionInvoked | object NonEntryFunctionInvoked : ExecutionError Non Entry Function Invoked. Move Call must start with an entry function. |
| ObjectTooBig | data class ObjectTooBig(val objectSize: ULong, val maxObjectSize: ULong) : ExecutionError Move object is larger than the maximum allowed size |
| PackageTooBig | data class PackageTooBig(val objectSize: ULong, val maxObjectSize: ULong) : ExecutionError Package is larger than the maximum allowed size |
| PackageUpgrade | data class PackageUpgrade(val kind: PackageUpgradeError) : ExecutionError Invalid package upgrade |
| PublishErrorNonZeroAddress | object PublishErrorNonZeroAddress : ExecutionError Publish Error, Non-zero Address. The modules in the package must have their self-addresses set to zero. |
| PublishUpgradeDependencyDowngrade | object PublishUpgradeDependencyDowngrade : ExecutionError Publish or Upgrade dependency downgrade. |
| PublishUpgradeMissingDependency | object PublishUpgradeMissingDependency : ExecutionError Publish or Upgrade is missing dependency |
| SharedObjectOperationNotAllowed | object SharedObjectOperationNotAllowed : ExecutionError The requested shared object operation is not allowed |
| TypeArgument | data class TypeArgument(val typeArgument: UShort, val kind: TypeArgumentError) : ExecutionError Type argument error |
| TypeArityMismatch | object TypeArityMismatch : ExecutionError Type arity mismatch for Move function. Mismatch between the number of actual versus expected type arguments. |
| UnusedValueWithoutDrop | data class UnusedValueWithoutDrop(val result: UShort, val subresult: UShort) : ExecutionError Unused result without the drop ability. |
| VmInvariantViolation | object VmInvariantViolation : ExecutionError MoveVm invariant violation |
| VmVerificationOrDeserialization | object VmVerificationOrDeserialization : ExecutionError Bytecode verification error. |
| WrittenObjectsTooLarge | data class WrittenObjectsTooLarge(val objectSize: ULong, val maxObjectSize: ULong) : ExecutionError Indicates the transaction tried to write objects too large to storage |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
AccountNotSharedObject
data class AccountNotSharedObject(val objectId: ObjectId) : ExecutionError
The account object named by a Move authenticator is not a shared object: it is immutable, or owned by an address or by another object. An account must be shared so that a transaction carrying a Move authenticator is ordered by consensus.
Constructors
| AccountNotSharedObject | constructor(objectId: ObjectId) |
Properties
| Name | Summary |
|---|---|
| objectId | val objectId: ObjectId |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
AddressDeniedForCoin
data class AddressDeniedForCoin(val address: Address, val coinType: String) : ExecutionError
Address is denied for this coin type
Constructors
| AddressDeniedForCoin | constructor(address: Address, coinType: String) |
Properties
| Name | Summary |
|---|---|
| address | val address: Address |
| coinType | val coinType: String |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
ArityMismatch
object ArityMismatch : ExecutionError
Arity mismatch for Move function. The number of arguments does not match the number of parameters
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
AuthenticatorFunctionNotFound
data class AuthenticatorFunctionNotFound(val objectId: ObjectId) : ExecutionError
The account object named by a Move authenticator has no authenticator function: the object has no authenticator function field, or the field cannot be read. Nothing can authenticate the transaction.
Constructors
| AuthenticatorFunctionNotFound | constructor(objectId: ObjectId) |
Properties
| Name | Summary |
|---|---|
| objectId | val objectId: ObjectId |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
CertificateDenied
object CertificateDenied : ExecutionError
Certificate is on the deny list
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
CircularObjectOwnership
data class CircularObjectOwnership(val object: ObjectId) : ExecutionError
Circular Object Ownership
Constructors
| CircularObjectOwnership | constructor(object: ObjectId) |
Properties
| Name | Summary |
|---|---|
| object | val object: ObjectId |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
CoinBalanceOverflow
object CoinBalanceOverflow : ExecutionError
Coin balance overflowed an u64
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
CoinTypeGlobalPause
data class CoinTypeGlobalPause(val coinType: String) : ExecutionError
Coin type is globally paused for use
Constructors
| CoinTypeGlobalPause | constructor(coinType: String) |
Properties
| Name | Summary |
|---|---|
| coinType | val coinType: String |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
CommandArgument
data class CommandArgument(val argument: UShort, val kind: CommandArgumentError) : ExecutionError
Invalid command argument
Constructors
| CommandArgument | constructor(argument: UShort, kind: CommandArgumentError) |
Properties
| Name | Summary |
|---|---|
| argument | val argument: UShort |
| kind | val kind: CommandArgumentError |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
EffectsTooLarge
data class EffectsTooLarge(val currentSize: ULong, val maxSize: ULong) : ExecutionError
Effects from the transaction are too large
Constructors
| EffectsTooLarge | constructor(currentSize: ULong, maxSize: ULong) |
Properties
| Name | Summary |
|---|---|
| currentSize | val currentSize: ULong |
| maxSize | val maxSize: ULong |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
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
| ExecutionCanceledDueToExecutionWorkerCongestion | constructor(suggestedGasPrice: ULong) |
Properties
| Name | Summary |
|---|---|
| suggestedGasPrice | val suggestedGasPrice: ULong |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
ExecutionCanceledDueToRandomnessUnavailable
object ExecutionCanceledDueToRandomnessUnavailable : ExecutionError
Certificate is canceled because randomness could not be generated this epoch
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
ExecutionCanceledDueToSharedObjectCongestion
data class ExecutionCanceledDueToSharedObjectCongestion(val congestedObjects: List<ObjectId>) : ExecutionError
Certificate is canceled due to congestion on shared objects
Constructors
| ExecutionCanceledDueToSharedObjectCongestion | constructor(congestedObjects: List<ObjectId>) |
Properties
| Name | Summary |
|---|---|
| congestedObjects | val congestedObjects: List<ObjectId> |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
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
| ExecutionCanceledDueToSharedObjectCongestionV2 | constructor(congestedObjects: List<ObjectId>, suggestedGasPrice: ULong) |
Properties
| Name | Summary |
|---|---|
| congestedObjects | val congestedObjects: List<ObjectId> |
| suggestedGasPrice | val suggestedGasPrice: ULong |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
FeatureNotYetSupported
object FeatureNotYetSupported : ExecutionError
Attempted to used feature that is not supported yet
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
FunctionNotFound
object FunctionNotFound : ExecutionError
Function not found
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
InputObjectDeleted
object InputObjectDeleted : ExecutionError
Requested shared object has been deleted
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
InsufficientCoinBalance
object InsufficientCoinBalance : ExecutionError
Insufficient coin balance for requested operation
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
InsufficientGas
object InsufficientGas : ExecutionError
Insufficient Gas
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
InvalidGasObject
object InvalidGasObject : ExecutionError
Invalid Gas Object.
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
InvalidLinkage
object InvalidLinkage : ExecutionError
A valid linkage was unable to be determined for the transaction or one of its commands.
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
InvalidPublicFunctionReturnType
data class InvalidPublicFunctionReturnType(val index: UShort) : ExecutionError
Invalid public Move function signature. Unsupported return type for return value
Constructors
| InvalidPublicFunctionReturnType | constructor(index: UShort) |
Properties
| Name | Summary |
|---|---|
| index | val index: UShort |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
InvalidTransferObject
object InvalidTransferObject : ExecutionError
Invalid Transfer Object, object does not have public transfer.
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
InvariantViolation
object InvariantViolation : ExecutionError
Invariant Violation
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
IotaMoveVerification
object IotaMoveVerification : ExecutionError
IOTA Move Bytecode Verification Error.
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
IotaMoveVerificationTimeout
object IotaMoveVerificationTimeout : ExecutionError
IOTA Move Bytecode verification timed out.
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
MoveAbort
data class MoveAbort(val location: MoveLocation, val code: ULong) : ExecutionError
Move runtime abort
Constructors
| MoveAbort | constructor(location: MoveLocation, code: ULong) |
Properties
| Name | Summary |
|---|---|
| code | val code: ULong |
| location | val location: MoveLocation |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
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
| MoveAuthentication | constructor(error: ExecutionErrorWrapper) |
Properties
| Name | Summary |
|---|---|
| error | val error: ExecutionErrorWrapper |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
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
| MovePrimitiveRuntime | constructor(location: MoveLocation?) |
Properties
| Name | Summary |
|---|---|
| location | val location: MoveLocation? |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
MoveRawValueTooBig
data class MoveRawValueTooBig(val valueSize: ULong, val maxScaledSize: ULong) : ExecutionError
Move value (possibly an upgrade ticket or a dev-inspect value) is larger than the maximum size. The maximum is scaled based on the type of the value.
Constructors
| MoveRawValueTooBig | constructor(valueSize: ULong, maxScaledSize: ULong) |
Properties
| Name | Summary |
|---|---|
| maxScaledSize | val maxScaledSize: ULong |
| valueSize | val valueSize: ULong |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
MoveVectorElemTooBig
data class MoveVectorElemTooBig(val valueSize: ULong, val maxScaledSize: ULong) : ExecutionError
Move vector element (passed to MakeMoveVec) is larger than the maximum size. The maximum is scaled based on the type of the vector element.
Constructors
| MoveVectorElemTooBig | constructor(valueSize: ULong, maxScaledSize: ULong) |
Properties
| Name | Summary |
|---|---|
| maxScaledSize | val maxScaledSize: ULong |
| valueSize | val valueSize: ULong |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
NonEntryFunctionInvoked
object NonEntryFunctionInvoked : ExecutionError
Non Entry Function Invoked. Move Call must start with an entry function.
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
ObjectTooBig
data class ObjectTooBig(val objectSize: ULong, val maxObjectSize: ULong) : ExecutionError
Move object is larger than the maximum allowed size
Constructors
| ObjectTooBig | constructor(objectSize: ULong, maxObjectSize: ULong) |
Properties
| Name | Summary |
|---|---|
| maxObjectSize | val maxObjectSize: ULong |
| objectSize | val objectSize: ULong |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
PackageTooBig
data class PackageTooBig(val objectSize: ULong, val maxObjectSize: ULong) : ExecutionError
Package is larger than the maximum allowed size
Constructors
| PackageTooBig | constructor(objectSize: ULong, maxObjectSize: ULong) |
Properties
| Name | Summary |
|---|---|
| maxObjectSize | val maxObjectSize: ULong |
| objectSize | val objectSize: ULong |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
PackageUpgrade
data class PackageUpgrade(val kind: PackageUpgradeError) : ExecutionError
Invalid package upgrade
Constructors
| PackageUpgrade | constructor(kind: PackageUpgradeError) |
Properties
| Name | Summary |
|---|---|
| kind | val kind: PackageUpgradeError |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
PublishErrorNonZeroAddress
object PublishErrorNonZeroAddress : ExecutionError
Publish Error, Non-zero Address. The modules in the package must have their self-addresses set to zero.
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
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
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
PublishUpgradeMissingDependency
object PublishUpgradeMissingDependency : ExecutionError
Publish or Upgrade is missing dependency
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
SharedObjectOperationNotAllowed
object SharedObjectOperationNotAllowed : ExecutionError
The requested shared object operation is not allowed
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
TypeArgument
data class TypeArgument(val typeArgument: UShort, val kind: TypeArgumentError) : ExecutionError
Type argument error
Constructors
| TypeArgument | constructor(typeArgument: UShort, kind: TypeArgumentError) |
Properties
| Name | Summary |
|---|---|
| kind | val kind: TypeArgumentError |
| typeArgument | val typeArgument: UShort Index of the problematic type argument |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
TypeArityMismatch
object TypeArityMismatch : ExecutionError
Type arity mismatch for Move function. Mismatch between the number of actual versus expected type arguments.
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
UnusedValueWithoutDrop
data class UnusedValueWithoutDrop(val result: UShort, val subresult: UShort) : ExecutionError
Unused result without the drop ability.
Constructors
| UnusedValueWithoutDrop | constructor(result: UShort, subresult: UShort) |
Properties
| Name | Summary |
|---|---|
| result | val result: UShort |
| subresult | val subresult: UShort |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
VmInvariantViolation
object VmInvariantViolation : ExecutionError
MoveVm invariant violation
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
VmVerificationOrDeserialization
object VmVerificationOrDeserialization : ExecutionError
Bytecode verification error.
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |
WrittenObjectsTooLarge
data class WrittenObjectsTooLarge(val objectSize: ULong, val maxObjectSize: ULong) : ExecutionError
Indicates the transaction tried to write objects too large to storage
Constructors
| WrittenObjectsTooLarge | constructor(objectSize: ULong, maxObjectSize: ULong) |
Properties
| Name | Summary |
|---|---|
| maxObjectSize | val maxObjectSize: ULong |
| objectSize | val objectSize: ULong |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |