Exception types used by the justbytes class.
Bases: exceptions.Exception
Generic Range error.
Bases: justbytes._errors.RangeUnrepresentableResultError
Error when Range construction is strict.
Bases: justbytes._errors.RangeNonsensicalOpError
Error when requesting a binary operation that doesn’t make sense.
Bases: justbytes._errors.RangeNonsensicalOpError
Error when requesting a binary operation with a nonsense value.
Bases: justbytes._errors.RangeUnsupportedOpError
Error when requesting an operation that doesn’t make sense.
Bases: justbytes._errors.RangeUnrepresentableResultError
Error when requesting an operation that would yield a byte power.
Bases: justbytes._errors.RangeUnsupportedOpError
Error when requesting an operation that yields units that cannot be represented with Range, e.g., when multiplying a Range by a Range.
Bases: justbytes._errors.RangeError
Error when executing unsupported operation on Range.
Bases: justbytes._errors.RangeError
Raised when a parameter has an unacceptable value.
May also be raised when the parameter has an unacceptable type.