pub enum WireErrorCode {
Show 16 variants
UnsupportedVersion,
IdentityRejected,
MalformedFrame,
FrameTooLarge,
SubscriberOverflow,
SubscriptionRevoked,
ContextRejected,
PeerClassDenied,
SubscriptionDenied,
AlreadySubscribed,
CursorExpired,
InFlightLimitExceeded,
DeadlineExceeded,
Cancelled,
ShuttingDown,
Internal,
}Variants§
UnsupportedVersion
Handshake named no mutually supported protocol version. Connection.
IdentityRejected
Whois lookup failed, no or invalid node mapping, or native-frame ingress attempted by a class without native access. Connection.
MalformedFrame
A frame cannot be decoded or violates the frame grammar. Connection.
FrameTooLarge
A frame exceeds the configured maximum size. Connection.
SubscriberOverflow
The connection’s bounded outbound event queue reached its limit. Connection.
SubscriptionRevoked
A live mapping or peer-class change short of mapping deletion removed authorization for a topic with an active subscription on this connection. Connection.
ContextRejected
A frame-level attempt to supply namespace, actor_id, or
visible_namespaces on a mapped transport. Request.
PeerClassDenied
A parsed operation names a verb outside the mapped class allowlist. Request.
SubscriptionDenied
A subscribe names a topic outside the mapped class’s allowed-topic
set. Request.
AlreadySubscribed
A subscribe names a topic that already has an active subscription
on this connection. Request.
CursorExpired
A subscribe resume cursor is older than the topic’s retention
window. Request.
InFlightLimitExceeded
A request arrives while the per-connection in-flight limit is
reached. Request.
DeadlineExceeded
The server abandoned the request at its deadline. Request.
Cancelled
The request was terminated by a cancel frame before its normal
completion. Request.
ShuttingDown
The server is draining and refuses new work. Request.
Internal
An unclassified server-side transport failure. Request. Also the fallback for an error code this client does not recognize.
Implementations§
Source§impl WireErrorCode
impl WireErrorCode
Sourcepub const fn terminal_scope(self) -> TerminalScope
pub const fn terminal_scope(self) -> TerminalScope
The terminal scope defined for this code in ADR-137’s error table.