ErrorCodes class

Stable, machine-readable error codes carried in error control messages and surfaced on OmnyServerExceptions.

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 operation parameters were invalid.
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.
notFound → const String
A requested formula, preset or other resource was not found.
operationFailed → const String
An operation (formula/preset/command) failed on the node.
protocolError → const String
A frame could not be decoded or violated the protocol.
storageError → const String
A persistence backend failed.
timeout → const String
An operation exceeded its deadline.
transportError → const String
The underlying transport failed or closed unexpectedly.
unknownNode → const String
The requested node is not registered with the Hub.
versionMismatch → const String
The peer advertised an incompatible protocol version.