ResponseFrame
autogen.beta.network.transport.frames.ResponseFrame dataclass #
hub → client: result of a :class:RequestFrame.
request_id echoes the request. ok is True on success — result then carries the JSON-compatible return value (a dict, a list of dicts, a scalar, or None). On failure ok is False and error_code / error_message describe the rejection; error_code mirrors :class:ErrorFrame.code ("not_found", "access_denied", "protocol_error", "auth_failed", …) so the client can re-raise the matching :class:NetworkError subclass.