Skip to content

Errors

errors

InterpolationError

InterpolationError(message: str)

Bases: Exception

Base class for interpolation errors.

Source code in src/interpcore/errors.py
4
5
6
def __init__(self, message: str):
    super().__init__(message)
    self.message = message

IncompatibleResultsError

IncompatibleResultsError(message: str)

Bases: Exception

Raised when a request for a result that cannot be computed is asked

Source code in src/interpcore/errors.py
def __init__(self, message: str):
    super().__init__(message)
    self.message = message

ConfigurationError

ConfigurationError(message: str)

Bases: Exception

Raised when the configuration is invalid or incompatible.

Source code in src/interpcore/errors.py
def __init__(self, message: str):
    super().__init__(message)
    self.message = message