Skip to content
PACKAGES

WireBridgeIssue

Kind: class

Source: src/graphrefly/_wire/envelope.py:66

WireBridgeIssue(code: Literal['invalid_bytes', 'invalid_timeout', 'invalid_payload', 'exhausted', 'nack', 'peer_error'], message: str, category: str | None = None, seq: int | None = None)

A bridge issue: never a terminal of a bridge node.

code is invalid_bytes (received bytes the canonical codec refused; category is its D497 category), invalid_timeout (a malformed ack-timeout fact), invalid_payload (an outbound value that is neither bytes nor a frame), exhausted (an envelope ran out of attempts), nack or peer_error.

NameTypeDescription
codeLiteral['invalid_bytes', 'invalid_timeout', 'invalid_payload', 'exhausted', 'nack', 'peer_error']
messagestr
category`strNone`
seq`intNone`