Trap stores trace message with backtrace when an error happened.
Instance methods
message
Returns the message attached to the current Trap
Sourceorigin
Returns the top frame of WebAssembly stack responsible for this trap.
Sourcetrace
Returns the trace of WebAssembly frames for this trap
Source