continuous_timeseries.exceptions#
Exceptions that are used throughout
Classes:
| Name | Description |
|---|---|
ExtrapolationNotAllowedError |
Raised when extrapolation is attempted, but isn't allowed |
MissingOptionalDependencyError |
Raised when an optional dependency is missing |
ExtrapolationNotAllowedError #
Bases: ValueError
Raised when extrapolation is attempted, but isn't allowed
Methods:
| Name | Description |
|---|---|
__init__ |
Initialise the error |
Source code in src/continuous_timeseries/exceptions.py
MissingOptionalDependencyError #
Bases: ImportError
Raised when an optional dependency is missing
For example, plotting dependencies like matplotlib
Methods:
| Name | Description |
|---|---|
__init__ |
Initialise the error |
Source code in src/continuous_timeseries/exceptions.py
__init__ #
Initialise the error
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
callable_name
|
str
|
The name of the callable that requires the dependency |
required |
requirement
|
str
|
The name of the requirement |
required |