Skip to main content

Module error

Module error 

Source
Expand description

Claude-specific error handling.

Enums§

ClaudeError
Claude API specific errors.

Functions§

is_structured_output_rejection
Reports whether an AI error is an endpoint rejecting the output_config structured-output field — see ClaudeError::is_structured_output_rejection.
is_transient_ai_error
Reports whether an AI error could plausibly succeed on a retry.