mirror of https://github.com/status-im/evmc.git
Add EVMC_WASM_TRAP error code
This commit is contained in:
parent
f10e23f42d
commit
7ebbbb043f
|
@ -286,6 +286,12 @@ enum evmc_status_code
|
|||
*/
|
||||
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…
Reference in New Issue