Exceptions
This article describes how Runtime exceptions are handled in pFS
ModuleNotFoundError
This error extends the Python Exception
class.
If, for any reason, a submodule
is unable to access a reference to one of its dependencies, then it shall throw a ModuleNotFoundError
, passing in a reference to itself and a string representation of the dependency.
The purpose for this Exception
is, if a submodule
is unable to access a dependency, it will raise ModuleNotFoundError
and core
will recognize the error, see what submodule
it is coming from, and see what dependency it cannot access. Afterwards, core
will attempt to rectify the issue by resetting the erroring submodules
self.module
variable.
submodules/telemetry
Class
helpers/exceptions.py
Last updated