Skip to content

ErrorFrame

autogen.beta.network.transport.frames.ErrorFrame dataclass #

ErrorFrame(code, message, envelope_id=None)

hub → client: structured rejection outside the request/response path.

Used for handshake failures (a :class:HelloFrame with an unknown name or a failed auth claim). code is a stable identifier ("protocol_error", "access_denied", "not_found", "auth_failed", …). Control-plane operation failures travel on :class:ResponseFrame instead, correlated by request_id.

kind class-attribute #

kind = 'error'

code instance-attribute #

code

message instance-attribute #

message

envelope_id class-attribute instance-attribute #

envelope_id = None