Full error handling
[invirt/packages/invirt-web.git] / code / templates / error.mako
diff --git a/code/templates/error.mako b/code/templates/error.mako
new file mode 100644 (file)
index 0000000..51c6a65
--- /dev/null
@@ -0,0 +1,18 @@
+<%page expression_filter="h"/>
+<%inherit file="skeleton.mako" />
+
+<%def name="title()">
+ERROR!
+</%def>
+
+<p>Uh-oh!  We experienced an error.  Sorry about that.  We've gotten
+mail about it.</p>
+
+<p>Feel free to poke us at <tt>xvm@mit.edu</tt> if this bug is
+consistently biting you and we don't seem to be fixing it.</p>
+
+<p>In case you're curious, the gory details are below.</p>
+
+<pre>
+${details}
+</pre>