ErrorCodes class
Stable, machine-readable error codes carried in error control messages
and surfaced on OmnyShellExceptions.
Codes are part of the wire contract: clients may switch on them, so values must remain stable across releases.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- authFailed → const String
- Credentials were missing, malformed or rejected.
- badRequest → const String
- The requested command or session parameters were invalid.
- capacityExceeded → const String
- The node has reached its session capacity.
- internalError → const String
- An unexpected, unclassified failure.
- malformedFrame → const String
- A binary data frame had a malformed or oversized header.
- nodeOffline → const String
- The requested node is currently offline.
- notAuthenticated → const String
- An operation was attempted before authentication completed.
- notAuthorized → const String
- The authenticated principal is not permitted to perform the action.
- protocolError → const String
- A frame could not be decoded or violated the protocol.
- sessionRejected → const String
- A session open request was rejected by the node.
- timeout → const String
- An operation exceeded its deadline.
- transportError → const String
- The underlying transport failed or closed unexpectedly.
- unknownChannel → const String
- A control message referenced an unknown or closed channel.
- unknownNode → const String
- The requested node is not registered with the Hub.
- versionMismatch → const String
- The peer advertised an incompatible protocol version.