summaryrefslogtreecommitdiff
path: root/talermerchantdemos/survey/templates/error.html
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-07-22 16:33:54 +0200
committerMS <ms@taler.net>2020-07-22 16:33:54 +0200
commit4816fa981f672f302a009af66a77c444c8e4b660 (patch)
tree1075990fcbcf17b0b9190793eab3db04c13fd121 /talermerchantdemos/survey/templates/error.html
parent3ca29bf465d0419c0915924910b4e81a73ec8cef (diff)
downloadtaler-merchant-demos-4816fa981f672f302a009af66a77c444c8e4b660.tar.gz
taler-merchant-demos-4816fa981f672f302a009af66a77c444c8e4b660.tar.bz2
taler-merchant-demos-4816fa981f672f302a009af66a77c444c8e4b660.zip
Installing Survey
Diffstat (limited to 'talermerchantdemos/survey/templates/error.html')
-rw-r--r--talermerchantdemos/survey/templates/error.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/talermerchantdemos/survey/templates/error.html b/talermerchantdemos/survey/templates/error.html
new file mode 100644
index 0000000..0d4bd02
--- /dev/null
+++ b/talermerchantdemos/survey/templates/error.html
@@ -0,0 +1,22 @@
+{% extends "templates/base.html" %}
+{% block main %}
+ <h1>An Error Occurred</h1>
+
+ <p>{{ message }}</p>
+
+ {% if status_code %}
+ <p>The backend returned status code {{ status_code }}.</p>
+ {% endif %}
+
+ {% if json %}
+ <p>Backend Response:</p>
+ <pre>{{ json }}</pre>
+ {% endif %}
+
+ {% if stack %}
+ <p>Stack trace:</p>
+ <pre>
+ {{ stack }}
+ </pre>
+ {% endif %}
+{% endblock main %}