elicito.exceptions#
Exceptions that are used throughout
Classes:
| Name | Description |
|---|---|
MissingOptionalDependencyError |
Raised when an optional dependency is missing |
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/elicito/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 |