Module exceptions (3.10.0)

Exceptions raised by the library.

Classes

InvalidPathError

Raised when the provided path string is malformed.

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.