Module digint.errors

errors

Holds all error classes for the digint module.

Classes

class BaseInvalidOpperationError (*args, **kwargs)

BaseInvalidOpperationError

Inherits ValueError

Raised when a given opperation is impossible with a given base.

Expand source code
class BaseInvalidOpperationError(ValueError):
    """
    `BaseInvalidOpperationError`

    Inherits `ValueError`

    Raised when a given opperation is impossible with a given base.
    """

Ancestors

  • builtins.ValueError
  • builtins.Exception
  • builtins.BaseException
class BaseValueError (*args, **kwargs)

BaseValueError

Inherits ValueError

Raised when a given value is impossible to be represented in a given base.

Expand source code
class BaseValueError(ValueError):
    """
    `BaseValueError`

    Inherits `ValueError`

    Raised when a given value is impossible to be represented in a given base.
    """

Ancestors

  • builtins.ValueError
  • builtins.Exception
  • builtins.BaseException
class NotationError (*args, **kwargs)

NotationError

Inherits ValueError

Raised when a error is encountered during notation.

Expand source code
class NotationError(ValueError):
    """
    `NotationError`

    Inherits `ValueError`

    Raised when a error is encountered during notation.
    """

Ancestors

  • builtins.ValueError
  • builtins.Exception
  • builtins.BaseException