adb_shell.exceptions module
ADB-related exceptions.
- exception adb_shell.exceptions.AdbCommandFailureException[source]
Bases:
ExceptionA
b'FAIL'packet was received.
- exception adb_shell.exceptions.AdbConnectionError[source]
Bases:
ExceptionADB command not sent because a connection to the device has not been established.
- exception adb_shell.exceptions.AdbTimeoutError[source]
Bases:
ExceptionADB command did not complete within the specified time.
- exception adb_shell.exceptions.DeviceAuthError(message, *args)[source]
Bases:
ExceptionDevice authentication failed.
- exception adb_shell.exceptions.DevicePathInvalidError[source]
Bases:
ExceptionA file command was passed an invalid path.
- exception adb_shell.exceptions.InvalidChecksumError[source]
Bases:
ExceptionChecksum of data didn’t match expected checksum.
- exception adb_shell.exceptions.InvalidCommandError[source]
Bases:
ExceptionGot an invalid command.
- exception adb_shell.exceptions.InvalidResponseError[source]
Bases:
ExceptionGot an invalid response to our command.
- exception adb_shell.exceptions.InvalidTransportError[source]
Bases:
ExceptionThe provided transport does not implement the necessary methods:
close,connect,bulk_read, andbulk_write.
- exception adb_shell.exceptions.PushFailedError[source]
Bases:
ExceptionPushing a file failed for some reason.
- exception adb_shell.exceptions.TcpTimeoutException[source]
Bases:
ExceptionTCP connection timed read/write operation exceeded the allowed time.
- exception adb_shell.exceptions.UsbReadFailedError(msg, usb_error)[source]
Bases:
ExceptionTODO
- Parameters:
msg (str) – The error message
usb_error (libusb1.USBError) – An exception from
libusb1
- usb_error
An exception from
libusb1- Type:
libusb1.USBError
- exception adb_shell.exceptions.UsbWriteFailedError[source]
Bases:
Exceptionadb_shell.transport.usb_transport.UsbTransport.bulk_write()failed.