minos.networks.exceptions

Exceptions

MinosActionNotFoundException

Exception to be raised when an action cannot be found,

MinosDiscoveryConnectorException

Exception to be raised when there is a failure while communicating with the discovery.

MinosEnrouteDecoratorException

Base exception for enroute decorators.

MinosHandlerException

Base handler exception.

MinosHandlerNotFoundEnoughEntriesException

Exception to be raised when not enough entries have been found by a handler.

MinosInvalidDiscoveryClient

Exception raised when the configured Discovery Client does not implement de DiscoveryClient interface

MinosMultipleEnrouteDecoratorKindsException

Exception to be raised when multiple enroute decorator kinds are applied to the same function.

MinosNetworkException

Base network exception.

MinosRedefinedEnrouteDecoratorException

Exception to be raised when same enroute decorator is used by multiple actions.

NotHasContentException

Exception to be raised when request has not content.

NotHasParamsException

Exception to be raised when request has not params.

NotSatisfiedCheckerException

Exception to be raised when some checkers are not validated.

RequestException

Base exception for requests.

exception MinosNetworkException[source]

Bases: MinosException

Base network exception.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception MinosDiscoveryConnectorException[source]

Bases: MinosNetworkException

Exception to be raised when there is a failure while communicating with the discovery.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception MinosInvalidDiscoveryClient[source]

Bases: MinosNetworkException

Exception raised when the configured Discovery Client does not implement de DiscoveryClient interface

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception MinosHandlerException[source]

Bases: MinosNetworkException

Base handler exception.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception MinosActionNotFoundException[source]

Bases: MinosHandlerException

Exception to be raised when an action cannot be found,

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception MinosHandlerNotFoundEnoughEntriesException[source]

Bases: MinosHandlerException

Exception to be raised when not enough entries have been found by a handler.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception NotSatisfiedCheckerException[source]

Bases: MinosHandlerException

Exception to be raised when some checkers are not validated.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception MinosEnrouteDecoratorException[source]

Bases: MinosNetworkException

Base exception for enroute decorators.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception MinosMultipleEnrouteDecoratorKindsException[source]

Bases: MinosEnrouteDecoratorException

Exception to be raised when multiple enroute decorator kinds are applied to the same function.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception MinosRedefinedEnrouteDecoratorException[source]

Bases: MinosEnrouteDecoratorException

Exception to be raised when same enroute decorator is used by multiple actions.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception RequestException[source]

Bases: MinosNetworkException

Base exception for requests.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception NotHasContentException[source]

Bases: RequestException

Exception to be raised when request has not content.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception NotHasParamsException[source]

Bases: RequestException

Exception to be raised when request has not params.

__init__(error_message)
Parameters

error_message (str) –

__new__(**kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.