Module exceptions (3.2.0)

Exceptions raised by the library.

Classes

InvalidResponse

InvalidResponse(response,*args)

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

Parameters
NameDescription
responseobject

The HTTP response which caused the failure.

argstuple

The positional arguments typically passed to an exception class.

DataCorruption

DataCorruption(response,*args)

Error class for corrupt media transfers.

Parameters
NameDescription
responseobject

The HTTP response which caused the failure.

argstuple

The positional arguments typically passed to an exception class.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-05 UTC.