diff options
author | Frederick Muriuki Muriithi | 2025-07-09 11:51:37 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-07-09 11:57:25 -0500 |
commit | 1740ccbe30946aa6693a6a9ed8211a2ff7cfbf3d (patch) | |
tree | af5b89ba28a39cd859ae943e8882f39f5ae54069 /gn_auth/templates/http-error-4xx.html | |
parent | e7a89061cba689268daf4991038d9bec763a06d3 (diff) | |
download | gn-auth-main.tar.gz |
- Refactor out common functionality into reusable utilities
- Handle errors from the Authlib library/package
- Handle 4xx errors generically.
Diffstat (limited to 'gn_auth/templates/http-error-4xx.html')
-rw-r--r-- | gn_auth/templates/http-error-4xx.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gn_auth/templates/http-error-4xx.html b/gn_auth/templates/http-error-4xx.html new file mode 100644 index 0000000..16c4581 --- /dev/null +++ b/gn_auth/templates/http-error-4xx.html @@ -0,0 +1,20 @@ +{%extends "base.html"%} + +{%block title%}{{error.code}}: {{error.name}}{%endblock%} + +{%block pagetitle%}{{error.code}}: {{error.name}}{%endblock%} + +{%block content%} + +<dl> + <dt>status code</dt> + <dd>{{error.code}}: {{error.name}}</dd> + + <dt><strong>URI</strong></dt> + <dd>{{page}}</dd> + + <dt>error description</dt> + <dd>{{description}}</dd> +</dl> + +{%endblock%} |