Expand description
Error types.
The hierarchy mirrors the official Python SDK: configuration and request-validation errors are
raised before anything is sent; ApiError covers unsuccessful HTTP responses;
Error::Connection and Error::Timeout cover requests that never produced a response; and
ResponseValidationError covers a 2xx response whose body does not match the schema.
Structs§
- ApiError
- An unsuccessful HTTP response.
- Response
Validation Error - A successful response whose body is missing or has structurally invalid required data.
Enums§
- ApiError
Kind - Classification of an unsuccessful HTTP status.
- Error
- Any failure produced by the SDK.
Type Aliases§
- Result
- Convenience alias for results returned by this crate.