Expand description
Error code for signaling error while processing a host function.
API inspired by std::io::Error and std::io::ErrorKind but somewhat more memory efficient.
Enums§
- Call
Error - Represents the result of a host function call.
- Common
Result - Trap
Code - Wasm trap code.
Constants§
- CALLEE_
GAS_ DEPLETED - CALLEE_
HOST_ ERROR - CALLEE_
NOT_ CALLABLE - CALLEE_
REVERTED - CALLEE_
SUCCEEDED - CALLEE_
TRAPPED - HOST_
ERROR_ INTERNAL - HOST_
ERROR_ INVALID_ DATA - HOST_
ERROR_ INVALID_ INPUT - HOST_
ERROR_ MAX_ MESSAGES_ PER_ BLOCK_ EXCEEDED - HOST_
ERROR_ MESSAGE_ TOPIC_ FULL - HOST_
ERROR_ NOT_ FOUND - HOST_
ERROR_ PAYLOAD_ TOO_ LONG - HOST_
ERROR_ SUCCESS - HOST_
ERROR_ TOO_ MANY_ TOPICS - HOST_
ERROR_ TOPIC_ TOO_ LONG