Class Trap

Used to immediately terminate execution and signal abnormal behavior to the execution environment.

class Trap
  : wasmer.Handle!(wasmer.bindings.wasm_trap_t) ;

Constructors

NameDescription
this (trap)

Fields

NameTypeDescription
message const(string)

Properties

NameTypeDescription
hostInfo[set] T
hostInfo[get] T

See Also