Enum sewup::runtimes::traits::VmError [−][src]
pub enum VmError {
Show 21 variants
ArgumentOutOfRange,
BadJumpDestination,
CallDepthExceeded,
ContractValidationFailure,
CustomizedError(String),
Failure,
InternalError,
InvalidInstruction,
InvalidMemoryAccess,
OutOfGas,
OutOfMemory,
PrecompileFailure,
Rejected,
Revert,
StackOverflow,
StackUnderflow,
StaticModeViolation,
UndefinedInstruction,
UnknownCaller,
WasmTrap,
WasmUnreachableInstruction,
}
Variants
ArgumentOutOfRange
BadJumpDestination
CallDepthExceeded
ContractValidationFailure
CustomizedError(String)
Tuple Fields
0: String
If the EWASM errors are not enough for your VM, you can use this error type to help you customized you error message