Module exceptions (3.0.0rc1)

Exceptions raised by the library.

Classes

InvalidResponse

InvalidResponse(response, *args)

Error class for responses which are not in the correct state.

Parameters
Name Description
response object

The HTTP response which caused the failure.

args tuple

The positional arguments typically passed to an exception class.

DataCorruption

DataCorruption(response, *args)

Error class for corrupt media transfers.

Parameters
Name Description
response object

The HTTP response which caused the failure.

args tuple

The positional arguments typically passed to an exception class.