Skip to main content

Module error

Module error 

Source

Enums§

RuntimeError

Functions§

humanize_api_error
Translate an Anthropic API error response into a human-actionable message.
humanize_api_error_with_reset
Like humanize_api_error but surfaces a known rate-limit reset time in the 429 message so the failure is honest rather than cryptic. reset_hint is a human-readable duration string, e.g. "47s".
humanize_network_error
Translate a reqwest transport error into a human-actionable message.

Type Aliases§

Result