adbwp.exceptions

Contains exception types used across the package.

exception adbwp.exceptions.WireProtocolError

Base exception for all ADB wire protocol related errors.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception adbwp.exceptions.PackError

Exception raised when unable to pack/serialize a model into bytes.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception adbwp.exceptions.UnpackError

Exception raised when unable to unpack/deserialize bytes into a model.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception adbwp.exceptions.ChecksumError

Exception raised when the computed checksum of a data payload does not match the value in the header.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.