Errors and Retries
All SDK errors inherit fromDalyAPIError.
Exception Mapping
Retry Semantics
- The SDK does not do general automatic retries.
- It retries once only for
401after token invalidation/refresh. - Caller-managed retries are recommended for
429, transient5xx, and timeouts.
Rate-Limit Support
RateLimitError includes retry_after when API returns Retry-After header.
Timeout Semantics
SDK wrapshttpx timeout exceptions into TimeoutError with:
status_code = 0- consistent
DalyAPIErrorinheritance for unified exception handling
