diff options
Diffstat (limited to 'gn3/errors.py')
-rw-r--r-- | gn3/errors.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gn3/errors.py b/gn3/errors.py index 121187c..cd707f3 100644 --- a/gn3/errors.py +++ b/gn3/errors.py @@ -6,6 +6,7 @@ from authlib.oauth2.rfc6749.errors import OAuth2Error from gn3.auth.authorisation.errors import AuthorisationError def page_not_found(pnf): + """Generic 404 handler.""" return jsonify({ "error": pnf.name, "error_description": pnf.description |