minos.api_gateway.common.exceptions module¶
Copyright (C) 2021 Clariteia SL
This file is part of minos framework.
Minos framework can not be copied and/or distributed without the express permission of Clariteia SL.
- exception minos.api_gateway.common.exceptions.EmptyMinosModelSequenceException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosModelException
Exception to be raised when a sequence must be not empty, but it is empty.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosAttributeValidationException(name, value)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosModelAttributeException
Exception to be raised when some fields are not valid.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosConfigDefaultAlreadySetException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosConfigException
Exception to be raised when some config is already set as default.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosConfigException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosException
Base config exception.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosException(error_message)[source]¶
Bases:
Exception
Exception class for import packages or modules
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosImportException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosException
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosMalformedAttributeException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosModelAttributeException
Exception to be raised when there are any kind of problems with the type definition.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosMessageException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosException
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosModelAttributeException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosException
Base model attributes exception.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosModelException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosException
Exception to be raised when some mandatory condition is not satisfied by a model.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosParseAttributeException(name, value, exception)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosModelAttributeException
Exception to be raised when there are any kind of problems with the parsing logic.
- __init__(name, value, exception)[source]¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosProtocolException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosException
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosRepositoryAggregateNotFoundException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosRepositoryException
Exception to be raised when some aggregate is not found on the repository.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosRepositoryDeletedAggregateException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosRepositoryException
Exception to be raised when some aggregate is already deleted from the repository.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosRepositoryException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosException
Base repository exception.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosRepositoryManuallySetAggregateIdException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosRepositoryException
Exception to be raised when some aggregate is trying to be created with a manually set id.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosRepositoryManuallySetAggregateVersionException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosRepositoryException
Exception to be raised when some aggregate is trying to be created with a manually set version.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosRepositoryNonProvidedException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosRepositoryException
Exception to be raised when a repository is needed but none is set.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosRepositoryUnknownActionException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosRepositoryException
Exception to be raised when some entry tries to perform an unknown action.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosReqAttributeException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosModelAttributeException
Exception to be raised when some required attributes are not provided.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MinosTypeAttributeException(name, target_type, value)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosModelAttributeException
Exception to be raised when there are any mismatching between the expected and observed attribute type.
- __init__(name, target_type, value)[source]¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception minos.api_gateway.common.exceptions.MultiTypeMinosModelSequenceException(error_message)[source]¶
Bases:
minos.api_gateway.common.exceptions.MinosModelException
Exception to be raised when a sequence doesn’t satisfy the condition to have the same type for each item.
- __init__(error_message)¶
Initialize self. See help(type(self)) for accurate signature.
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.