class Wasmer::Trap

Overview

Trap stores trace message with backtrace when an error happened.

Defined in:

wasmer/trap.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(store : Store, message : String) #

[View source]

Instance Method Detail

def message #

Returns the message attached to the current Trap


[View source]
def origin : Frame? #

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


[View source]
def trace : Trace #

Returns the trace of WebAssembly frames for this trap


[View source]