class

Wasmer::Trap

Inherits Reference / Object

Trap stores trace message with backtrace when an error happened.

Constructors

new(store : Store, message : String)
Source

Instance methods

message

Returns the message attached to the current Trap

Source
origin

Returns the top frame of WebAssembly stack responsible for this trap.

Source
trace

Returns the trace of WebAssembly frames for this trap

Source