aio_adb_shell.exceptions module

ADB-related exceptions.

exception aio_adb_shell.exceptions.AdbCommandFailureException[source]

Bases: Exception

A b'FAIL' packet was received.

exception aio_adb_shell.exceptions.AdbConnectionError[source]

Bases: Exception

ADB command not sent because a connection to the device has not been established.

exception aio_adb_shell.exceptions.DeviceAuthError(message, *args)[source]

Bases: Exception

Device authentication failed.

exception aio_adb_shell.exceptions.InterleavedDataError[source]

Bases: Exception

We only support command sent serially.

exception aio_adb_shell.exceptions.InvalidChecksumError[source]

Bases: Exception

Checksum of data didn’t match expected checksum.

exception aio_adb_shell.exceptions.InvalidCommandError(message, response_header, response_data)[source]

Bases: Exception

Got an invalid command.

exception aio_adb_shell.exceptions.InvalidHandleError[source]

Bases: Exception

The provided handle does not implement the necessary methods: close, connect, bulk_read, and bulk_write.

exception aio_adb_shell.exceptions.InvalidResponseError[source]

Bases: Exception

Got an invalid response to our command.

exception aio_adb_shell.exceptions.PushFailedError[source]

Bases: Exception

Pushing a file failed for some reason.

exception aio_adb_shell.exceptions.TcpTimeoutException[source]

Bases: Exception

TCP connection timed read/write operation exceeded the allowed time.