Skip to content

ErrorFrame

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

ErrorFrame(code, message, envelope_id=None)

hub → client: structured rejection.

code is a stable identifier ("protocol_error", "access_denied", "not_found", "inbox_full", …). envelope_id is set when the error relates to a specific send.

kind class-attribute #

kind = 'error'

code instance-attribute #

code

message instance-attribute #

message

envelope_id class-attribute instance-attribute #

envelope_id = None