summaryrefslogtreecommitdiff
path: root/talermerchantdemos/survey/templates/error.html
diff options
context:
space:
mode:
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 %}