Exceptions¶
Every exception the SDK raises derives from SweatStackError. See Errors for which ones to handle.
Typed exception hierarchy for the SweatStack client.
This module defines all exceptions raised by the SweatStack library. No httpx types are exposed — this is the public error contract.
SweatStackAPIError
¶
SweatStackAuthError
¶
SweatStackBadRequestError
¶
SweatStackConnectionError
¶
Bases: SweatStackError
Transport-level failure: DNS, connect timeout, read timeout, no response.
SweatStackError
¶
Bases: Exception
Base exception for all SweatStack errors.
SweatStackNotFoundError
¶
SweatStackRateLimitError
¶
SweatStackServerError
¶
SweatStackTokenRefreshError
¶
Bases: SweatStackError
Token refresh failed (expired, missing, or refresh request failed).