mirror of
https://github.com/status-im/evmc.git
synced 2025-02-23 08:28:15 +00:00
Merge pull request #56 from ethereum/trap-error
Add EVMC_TRAP_INSTRUCTION error code
This commit is contained in:
commit
e319788554
@ -281,6 +281,17 @@ enum evmc_status_code
|
||||
*/
|
||||
EVMC_ARGUMENT_OUT_OF_RANGE = 14,
|
||||
|
||||
/**
|
||||
* A WebAssembly `unreachable` instruction has been hit during exection.
|
||||
*/
|
||||
EVMC_WASM_UNREACHABLE_INSTRUCTION = 15,
|
||||
|
||||
/**
|
||||
* A WebAssembly trap has been hit during execution. This can be for many
|
||||
* reasons, including division by zero, validation errors, etc.
|
||||
*/
|
||||
EVMC_WASM_TRAP = 16,
|
||||
|
||||
/** EVM implementation generic internal error. */
|
||||
EVMC_INTERNAL_ERROR = -1,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user