[][src]Module solana_libra_vm::errors

Structs

Location
VMRuntimeError
VerificationError

Enums

BinaryError
VMErrorKind
VMInvariantViolation
VMStaticViolation
VerificationStatus

Constants

EACCOUNT_DOES_NOT_EXIST
EASSERT_ERROR
EBAD_ACCOUNT_AUTHENTICATION_KEY
EBAD_SIGNATURE

Error codes that can be emitted by the prologue. These have special significance to the VM when they are raised during the prologue. However, they can also be raised by user code during execution of a transaction script. They have no significance to the VM in that case.

ECANT_PAY_GAS_DEPOSIT
EINSUFFICIENT_BALANCE

Generic error codes. These codes don't have any special meaning for the VM, but they are useful conventions for debugging

ESEQUENCE_NUMBER_TOO_NEW
ESEQUENCE_NUMBER_TOO_OLD

Functions

convert_prologue_runtime_error
to_vm_status

Conversion functions from internal VM statuses into external VM statuses

vm_result_to_transaction_status
vm_status_of_result

Type Definitions

BinaryLoaderResult
VMResult
VMRuntimeResult