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
Name | Description |
---|---|
this
(trap)
|
Fields
Name | Type | Description |
---|---|---|
message
|
const(string) |
Properties
Name | Type | Description |
---|---|---|
hostInfo [set]
|
T | |
hostInfo [get]
|
T |