mantelo.exceptions#
Exceptions#
Exception raised when the authentication request fails with a 401 Unauthorized status code. |
|
Exception raised on HTTP errors when talking to the Keycloak Admin API. |
Module Contents#
- exception mantelo.exceptions.AuthenticationException#
Bases:
ExceptionException raised when the authentication request fails with a 401 Unauthorized status code.
- error: str#
The error message from Keycloak.
- error_description: str#
The error description from Keycloak.
- response: requests.Response#
The response object from the server.
- exception mantelo.exceptions.HttpException#
Bases:
ExceptionException raised on HTTP errors when talking to the Keycloak Admin API.
- status_code: int#
The HTTP status code.
- json: dict#
The JSON response from the server.
- url: str#
The URL that was requested.
- response: requests.Response#
The response object from the server.
- classmethod from_slumber_exception(ex: slumber.exceptions.SlumberHttpBaseException)#