PyventusImportException
class¶
Bases: PyventusException
A custom Pyventus exception for handling missing imports within the package.
Notes:
-
This class provides a robust mechanism for handling and identifying potential import exceptions within the Pyventus package.
-
This class inherits from the base
PyventusException
class, allowing it to be raised as needed.
Source code in pyventus/core/exceptions/pyventus_import_exception.py
Attributes¶
Functions¶
__init__
¶
Initialize an instance of PyventusImportException
.
PARAMETER | DESCRIPTION |
---|---|
import_name
|
The name of the missing import.
TYPE:
|
is_optional
|
A flag indicating whether the missing import is optional or required for the package to work. Defaults to
TYPE:
|
is_dependency
|
A flag indicating whether the missing import is an external dependency or not. Defaults to
TYPE:
|