enum Status Every error the library or this binding throws carries one as its code, so a caller branches on the identity of the fault rather than on which side of the boundary saw it. A Deferred also reports Success, and Deferred until its call is final.
Values
Success | "success" | |
|---|---|---|
Deferred | "deferred" | |
OutOfMemory | "out-of-memory" | |
ShapeMismatch | "shape-mismatch" | |
UnsupportedLayout | "unsupported-layout" | |
UnknownKind | "unknown-kind" | |
Io | "io" | |
Device | "device" | |
Malformed | "malformed" | |
Internal | "internal" | |
ConfigMismatch | "config-mismatch" | |
Contended | "contended" | |
Cancelled | "cancelled" | |
Unsupported | "unsupported" | |
InvalidArgument | "invalid-argument" |