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
, andbulk_write
.
-
exception
aio_adb_shell.exceptions.
InvalidResponseError
[source]¶ Bases:
Exception
Got an invalid response to our command.