Expand description
Error types for the ObjectiveAI SDK.
Modules§
Structs§
- Response
Error - An error returned by the ObjectiveAI API.
Traits§
- Status
Error - A trait for errors that have an HTTP status code and optional message.
Functions§
- create_
error_ streaming - Creates an error response with streaming. Returns
(Stream<Chunk>, Notifier); see [crate::agent::completions::http::create_agent_completion_streaming] for the demux + handler semantics. - create_
error_ unary - Creates an error response (unary).