WASIPreview2IoErrorHost class final
WASI 0.2 wasi:io/error host imports.
Constructors
- WASIPreview2IoErrorHost({WASIComponentResourceTable? table})
-
Creates an error host backed by
tableor a new component table.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
imports
→ Map<
String, WASIComponentWitAdapterCallback> -
Standard
wasi:io/error@0.2.0import callbacks.latefinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- table → WASIComponentResourceTable
-
Component resource table that owns error handles.
final
Methods
-
debugString(
int handle) → String -
Returns the debug string for an owned error
handle. -
insert(
WASIPreview2IoError error) → int -
Inserts
errorand returns an owned component handle. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited