HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/thread-self/root/usr/lib64/python3.6/site-packages/borg/algorithms/msgpack/exceptions.py
class UnpackException(Exception):
    """Deprecated.  Use Exception instead to catch all exception during unpacking."""


class BufferFull(UnpackException):
    pass


class OutOfData(UnpackException):
    pass


class UnpackValueError(UnpackException, ValueError):
    """Deprecated.  Use ValueError instead."""


class ExtraData(UnpackValueError):
    def __init__(self, unpacked, extra):
        self.unpacked = unpacked
        self.extra = extra

    def __str__(self):
        return "unpack(b) received extra data."


class PackException(Exception):
    """Deprecated.  Use Exception instead to catch all exception during packing."""


class PackValueError(PackException, ValueError):
    """PackValueError is raised when type of input data is supported but it's value is unsupported.

    Deprecated.  Use ValueError instead.
    """


class PackOverflowError(PackValueError, OverflowError):
    """PackOverflowError is raised when integer value is out of range of msgpack support [-2**31, 2**32).

    Deprecated.  Use ValueError instead.
    """