src.ska_src_api_accounting.common.exceptions
Exception classes.
Module Contents
Functions
|
Decorator to handle client exceptions. |
|
Decorator to handle server exceptions. |
- exception src.ska_src_api_accounting.common.exceptions.ClientNotDefinedError(client_name, exception)
Bases:
CustomHTTPExceptionClass that all ClientNotDefined exceptions must inherit in order for exception to be caught by the handle_exceptions decorator.
- exception src.ska_src_api_accounting.common.exceptions.ClientTokenError(client_name, exception)
Bases:
CustomHTTPExceptionClass that all ClientTokenError exceptions must inherit in order for exception to be caught by the handle_exceptions decorator.
- exception src.ska_src_api_accounting.common.exceptions.CustomException(message)
Bases:
ExceptionClass that all custom exceptions must inherit in order for exception to be caught by the handle_exceptions decorator.
- exception src.ska_src_api_accounting.common.exceptions.CustomHTTPException(message)
Bases:
ExceptionClass that all custom HTTP exceptions must inherit in order for exception to be caught by the handle_exceptions decorator.
- exception src.ska_src_api_accounting.common.exceptions.IAMEndpointNotFoundInWellKnown(endpoint)
Bases:
CustomExceptionClass that all IAMEndPoint custom exceptions must inherit in order for exception to be caught by the handle_exceptions decorator.
- exception src.ska_src_api_accounting.common.exceptions.PermissionDenied
Bases:
CustomHTTPExceptionClass that all Permission denied exceptions must inherit in order for exception to be caught by the handle_exceptions decorator.
- src.ska_src_api_accounting.common.exceptions.handle_client_exceptions(func)
Decorator to handle client exceptions.
- src.ska_src_api_accounting.common.exceptions.handle_exceptions(func)
Decorator to handle server exceptions.