aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/errors.py
AgeCommit message (Collapse)Author
2024-08-07Log out exceptions at the `ERROR` log levelFrederick Muriuki Muriithi
Log out any unhandled exceptions at the `ERROR` log level to ensure that any and all unhandled errors show up in the logs under normal running of the application.
2024-07-31Add some debug logging for errors.Frederick Muriuki Muriithi
2024-06-17Improve error-handling.Frederick Muriuki Muriithi
2024-06-17Present errors more cleanly.Frederick Muriuki Muriithi
2024-06-10Handle generic exceptions.Frederick Muriuki Muriithi
2024-06-10Return error code in error handlers.Frederick Muriuki Muriithi
2024-04-24Move the errors module up one level to break circular dependencies.Frederick Muriuki Muriithi
2024-03-21Rename klass to class_.Munyoki Kilyungi
As recommended by: <https://barry.warsaw.us/software/STYLEGUIDE.txt> which is a reference for pep-8. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-01-30Add exception traces to error outputs.Frederick Muriuki Muriithi
2024-01-29Error handling: Handle 404 error.Frederick Muriuki Muriithi
2023-09-26Handle AuthorisationError at the top-levelFrederick Muriuki Muriithi
Add an error handler to gracefully handle the custom AuthorisationError at the application's top-level to avoid having to manually handle it everywhere that the error (and its sub-classes) might be raised.