<filename>src/paseto/exceptions.py
class PasetoError(Exception):
    pass


class InvalidKeyError(PasetoError):
    pass


class BadSignatureError(PasetoError):
    pass


class ValueError(ValueError, PasetoError):
    pass


class PasetoWarning(RuntimeWarning):
    pass


class SecurityWarning(PasetoWarning):
    pass

<filename>src/paseto/exceptions.py
class PasetoError(Exception):
    pass


class InvalidKeyError(PasetoError):
    pass


class BadSignatureError(PasetoError):
    pass


class ValueError(ValueError, PasetoError):
    pass


class PasetoWarning(RuntimeWarning):
    pass


class SecurityWarning(PasetoWarning):
    pass
