Skip to content

Errors

Bases: Exception

Base class for all errors raised by the ThemeParks SDK.

Bases: ThemeParksError

Raised when the API responds with a non-2xx status.

Bases: APIError

Raised when the API responds 429. retry_after is seconds, if present.

Bases: ThemeParksError

Raised when the underlying transport fails.

Bases: ThemeParksError

Raised when a request exceeds the configured timeout.