antimatter.errors
#
Submodules#
Package Contents#
Functions#
|
Get the installation hint from the given module name. |
- antimatter.errors.as_install_hint(module_name: str) str #
Get the installation hint from the given module name.
- Parameters:
module_name – The module name to find an installation hint for
- Returns:
A hint for the user as to an action to take for the module
- exception antimatter.errors.SessionError#
Bases:
Exception
Base class for Session errors.
- exception antimatter.errors.SessionLoadError#
Bases:
SessionError
Error when a session encounters issues loading.
- exception antimatter.errors.SessionVerificationPendingError#
Bases:
SessionError
Error when a session has not yet had its admin contact verified.
- exception antimatter.errors.SessionVerificationMissingEmailError#
Bases:
SessionError
Error when resending a verification email with unknown email.
- exception antimatter.errors.CapsuleError#
Bases:
Exception
Base class for Capsule errors.
- exception antimatter.errors.CapsuleDataInferenceError#
Bases:
CapsuleError
Error when inferring a DataType fails.
- exception antimatter.errors.CapsuleLocationInferenceError#
Bases:
CapsuleError
Error when inferring a path’s location type fails.
- exception antimatter.errors.HandlerError#
Bases:
Exception
Base error for handler failures.
- exception antimatter.errors.HandlerFactoryError#
Bases:
HandlerError
Error when creating a handler in the handler factory.
- exception antimatter.errors.DataFormatError#
Bases:
HandlerError
Error indicating data is not in a supported format.
- exception antimatter.errors.CapsuleLoadError#
Bases:
CapsuleError
Error when loading a Capsule.
- exception antimatter.errors.CapsuleSaveError#
Bases:
CapsuleError
Error when saving a Capsule.
- exception antimatter.errors.CapsuleIsSealed#
Bases:
CapsuleError
Error when reading data from a sealed Capsule
- exception antimatter.errors.TokenError#
Bases:
Exception
Base error for token failures.
- exception antimatter.errors.TokenExpiredError#
Bases:
TokenError
Error for when a token has expired
- exception antimatter.errors.TokenMalformed#
Bases:
TokenError
Error for when a token is malformed
- exception antimatter.errors.MissingDependency(err: ModuleNotFoundError, override: str = None)#
Bases:
Exception
Human friendly error for missing dependencies
- Parameters:
err – The error message from the ModuleNotFoundError
override – The name of the module to install
- exception antimatter.errors.PermissionDenied#
Bases:
Exception
Error for when a user does not have the required permissions