OmnyShellException class sealed

Base type for every expected, classified failure raised by OmnyShell.

Each exception carries a stable code (see ErrorCodes) and a human-readable message. The hierarchy is sealed so callers can exhaustively switch on the failure kind, and so the protocol layer can map between exceptions and error control messages without a catch-all.

Implemented types
Implementers

Properties

code String
A stable, machine-readable error code.
final
hashCode int
The hash code for this object.
no setterinherited
message String
A human-readable description of the failure.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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