kanidm/pykanidm/kanidm/exceptions.py
James Hodgkinson 805ac2dd16
Python module and rewritten RADIUS integration (#826)
* added python kanidm module
* rewrote RADIUS integration
* updated the documentation
* updating github actions to run more often
* BLEEP BLOOP ASYNCIO IS GR8
* adding config to makefile to run pykanidm tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Firstyear <william@blackhats.net.au>
2022-06-20 20:16:55 +10:00

26 lines
514 B
Python

""" kanidm client exceptions """
class AuthBeginFailed(Exception):
"""Auth Failed at the begin step"""
class AuthCredFailed(Exception):
"""Auth Failed at the init step"""
class AuthInitFailed(Exception):
"""Auth Failed at the init step"""
class AuthMechUnknown(Exception):
"""Not sure what mech was passed but it wasn't the one we wanted"""
class ServerURLNotSet(Exception):
"""You haven't set the URL for the server!"""
class NoMatchingEntries(Exception):
"""user not found"""