from minos.common import (
    MinosException,
)
[docs]class MinosNetworkException(MinosException):
    """Base network exception.""" 
[docs]class MinosDiscoveryConnectorException(MinosNetworkException):
    """Exception to be raised when there is a failure while communicating with the discovery.""" 
[docs]class MinosInvalidDiscoveryClient(MinosNetworkException):
    """Exception raised when the configured Discovery Client does not implement de DiscoveryClient interface""" 
[docs]class MinosHandlerException(MinosNetworkException):
    """Base handler exception.""" 
[docs]class MinosActionNotFoundException(MinosHandlerException):
    """Exception to be raised when an action cannot be found,""" 
[docs]class MinosHandlerNotFoundEnoughEntriesException(MinosHandlerException):
    """Exception to be raised when not enough entries have been found by a handler.""" 
[docs]class NotSatisfiedCheckerException(MinosHandlerException):
    """Exception to be raised when some checkers are not validated.""" 
[docs]class MinosEnrouteDecoratorException(MinosNetworkException):
    """Base exception for enroute decorators.""" 
[docs]class MinosMultipleEnrouteDecoratorKindsException(MinosEnrouteDecoratorException):
    """Exception to be raised when multiple enroute decorator kinds are applied to the same function.""" 
[docs]class MinosRedefinedEnrouteDecoratorException(MinosEnrouteDecoratorException):
    """Exception to be raised when same enroute decorator is used by multiple handlers.""" 
[docs]class RequestException(MinosNetworkException):
    """Base exception for requests.""" 
[docs]class NotHasContentException(RequestException):
    """Exception to be raised when request has not content.""" 
[docs]class NotHasParamsException(RequestException):
    """Exception to be raised when request has not params."""