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:
ExceptionBase class for Session errors.
- exception antimatter.errors.SessionLoadError#
Bases:
SessionErrorError when a session encounters issues loading.
- exception antimatter.errors.SessionVerificationPendingError#
Bases:
SessionErrorError when a session has not yet had its admin contact verified.
- exception antimatter.errors.SessionVerificationMissingEmailError#
Bases:
SessionErrorError when resending a verification email with unknown email.
- exception antimatter.errors.CapsuleError#
Bases:
ExceptionBase class for Capsule errors.
- exception antimatter.errors.CapsuleDataInferenceError#
Bases:
CapsuleErrorError when inferring a DataType fails.
- exception antimatter.errors.CapsuleLocationInferenceError#
Bases:
CapsuleErrorError when inferring a path’s location type fails.
- exception antimatter.errors.HandlerError#
Bases:
ExceptionBase error for handler failures.
- exception antimatter.errors.HandlerFactoryError#
Bases:
HandlerErrorError when creating a handler in the handler factory.
- exception antimatter.errors.DataFormatError#
Bases:
HandlerErrorError indicating data is not in a supported format.
- exception antimatter.errors.CapsuleLoadError#
Bases:
CapsuleErrorError when loading a Capsule.
- exception antimatter.errors.CapsuleSaveError#
Bases:
CapsuleErrorError when saving a Capsule.
- exception antimatter.errors.CapsuleIsSealed#
Bases:
CapsuleErrorError when reading data from a sealed Capsule
- exception antimatter.errors.TokenError#
Bases:
ExceptionBase error for token failures.
- exception antimatter.errors.TokenExpiredError#
Bases:
TokenErrorError for when a token has expired
- exception antimatter.errors.TokenMalformed#
Bases:
TokenErrorError for when a token is malformed
- exception antimatter.errors.MissingDependency(err: ModuleNotFoundError, override: str = None)#
Bases:
ExceptionHuman 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:
ExceptionError for when a user does not have the required permissions