Module keycloak_oidc_api_client.errors
Contains shared errors types that can be raised from API functions
Classes
UnexpectedStatus
class UnexpectedStatus(
status_code: int,
content: bytes
)
Raised by api functions when the response status an undocumented status and Client.raise_on_unexpected_status is True
Ancestors (in MRO)
- builtins.Exception
- builtins.BaseException
Class variables
args
Methods
add_note
def add_note(
self,
note,
/
)
Add a note to the exception
with_traceback
def with_traceback(
self,
tb,
/
)
Set self.traceback to tb and return self.