WASIPreview2Exit class final
Exception used to terminate a WASI 0.2 command instance.
- Implemented types
Constructors
- WASIPreview2Exit(int statusCode)
-
Creates a Preview2 command exit marker.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess → bool
-
Whether statusCode conventionally represents success.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
Host status code requested by the command.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited