"""
    adbwp.exceptions
    ~~~~~~~~~~~~~~~~

    Contains exception types used across the package.
"""


class WireProtocolError(Exception):
    """
    Base exception for all ADB wire protocol related errors.
    """


class PackError(WireProtocolError):
    """
    Exception raised when unable to pack/serialize a model into :class:`~bytes`.
    """


class UnpackError(WireProtocolError):
    """
    Exception raised when unable to unpack/deserialize :class:`~bytes` into a model.
    """

Add exceptions module for errors used across the package.