class Wasmer::Trap
- Wasmer::Trap
- Reference
- Object
Overview
Trap stores trace message with backtrace when an error happened.
Defined in:
wasmer/trap.crConstructors
Instance Method Summary
-
#message
Returns the message attached to the current
Trap
-
#origin : Frame?
Returns the top frame of WebAssembly stack responsible for this trap.
-
#trace : Trace
Returns the trace of WebAssembly frames for this trap
Constructor Detail
Instance Method Detail
Returns the top frame of WebAssembly stack responsible for this trap.