antimatter.errors.errors#

Module Contents#

exception antimatter.errors.errors.SessionError#

Bases: Exception

Base class for Session errors.

exception antimatter.errors.errors.SessionLoadError#

Bases: SessionError

Error when a session encounters issues loading.

exception antimatter.errors.errors.SessionVerificationPendingError#

Bases: SessionError

Error when a session has not yet had its admin contact verified.

exception antimatter.errors.errors.SessionVerificationMissingEmailError#

Bases: SessionError

Error when resending a verification email with unknown email.

exception antimatter.errors.errors.CapsuleError#

Bases: Exception

Base class for Capsule errors.

exception antimatter.errors.errors.CapsuleDataInferenceError#

Bases: CapsuleError

Error when inferring a DataType fails.

exception antimatter.errors.errors.CapsuleLocationInferenceError#

Bases: CapsuleError

Error when inferring a path’s location type fails.

exception antimatter.errors.errors.HandlerError#

Bases: Exception

Base error for handler failures.

exception antimatter.errors.errors.HandlerFactoryError#

Bases: HandlerError

Error when creating a handler in the handler factory.

exception antimatter.errors.errors.DataFormatError#

Bases: HandlerError

Error indicating data is not in a supported format.

exception antimatter.errors.errors.CapsuleLoadError#

Bases: CapsuleError

Error when loading a Capsule.

exception antimatter.errors.errors.CapsuleSaveError#

Bases: CapsuleError

Error when saving a Capsule.

exception antimatter.errors.errors.CapsuleIsSealed#

Bases: CapsuleError

Error when reading data from a sealed Capsule

exception antimatter.errors.errors.TokenError#

Bases: Exception

Base error for token failures.

exception antimatter.errors.errors.TokenExpiredError#

Bases: TokenError

Error for when a token has expired

exception antimatter.errors.errors.TokenMalformed#

Bases: TokenError

Error for when a token is malformed

exception antimatter.errors.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.errors.PermissionDenied#

Bases: Exception

Error for when a user does not have the required permissions