Skip to main content

Module error

Module error 

Source

Structs§

ApiError
An error returned by the Quantum AI API (non-2xx response).

Enums§

Error
Error types returned by the Quantum AI SDK.
ErrorCode
Strongly-typed view of the API’s stable error-code taxonomy (internal/server/errors.go on the backend). Use this instead of substring-matching ApiError::message — the message text is human-readable and may change between releases; the code is part of the wire contract and never gets repurposed.

Functions§

is_auth_error
Checks whether an error is an authentication APIError.
is_not_found_error
Checks whether an error is a not found APIError.
is_rate_limit_error
Checks whether an error is a rate limit APIError.

Type Aliases§

Result
Result type alias for Quantum AI SDK operations.