Skip to main content

FrameDecodeError

Defined in the protocols module.
AI Agent Raised when a raw inbound frame fails schema validation. Carries a structured :class:HelloError so the transport can reject the frame deterministically with the existing (code, next_step, retry_after_seconds) contract instead of a per-handler try/except and ad-hoc isinstance checks. The wrapper server maps error.to_dict() onto the outbound hello_error (or error) frame. Attributes: error: The structured rejection envelope to send back to the client.

Constructor

HelloError
required
No description available.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 382

Code Agent

Code Feature