ft3.template.pkg.exc module

Template exceptions module.

exception CustomExampleError

Bases: RequestError

Cannot redefine a pet called Bark.

exception HTTPError

Bases: Exception

Base HTTP Error class.

exception MethodNotAllowedError

Bases: HTTPError

Method not allowed for the requested resource.

exception MethodNotImplementedError

Bases: HTTPError

Method not yet implemented for the requested resource.

exception NotAuthenticatedError

Bases: HTTPError

Must be authenticated to complete the request.

exception NotAuthorizedError

Bases: HTTPError

Not authorized to complete the request.

exception RateLimitedError

Bases: HTTPError

Too many requests.

exception RequestError

Bases: HTTPError

Operation could not be completed due to an error with the request.

exception ResourceNotFoundError

Bases: HTTPError

Requested resource could not be found at the specified location.

exception ResourceLockedError

Bases: HTTPError

Requested resource is currently locked for modification.

exception UnexpectedError

Bases: HTTPError

An unexpected error occurred.

exception BasePackageException(msg: str, *args: Unpack[ArgsType])

Bases: BaseException, Generic[Unpack[ArgsType]]

Exception common to the entire package.

Automatically handles serialization.