payment: note that Stripe has instituted an additional 1% fee for non-US cards
[hcoop/portal.git] / exn.mlt
diff --git a/exn.mlt b/exn.mlt
index 8e534a4..1b28abe 100644 (file)
--- a/exn.mlt
+++ b/exn.mlt
@@ -2,7 +2,7 @@
 <title>Hcoop Portal: Exception</title>
 </head><body>
 
-<h1><b>Exception</b></h1>
+<h1>Exception</h1>
 
 <% switch Web.getExn () of
      Fail msg => %>
 <b>System error</b>: <% Web.html name %>
 <% | OS.SysErr (name, SOME syserr) => %>
 <b>System error</b>: <% Web.html name %>: <% Web.html (OS.errorName syserr) %>: <% Web.htmlNl (OS.errorMsg syserr) %>
+<% | IO.Io {name, function, cause, ...} => %>
+<b>IO error</b>: <% Web.html name %> for <% Web.html function %><br>
+<b>Cause</b>: <% Web.html (Init.explain cause) %><br>
+<b>Tokens</b>: <p><% Web.htmlNl (Init.tokens ()) %></p>
 <% | Init.C.Sql msg => %>
 <b>SQL</b>: <% Web.htmlNl msg %>
 <% | Init.Access msg => %>
 <b>Authorization error</b>: <% Web.htmlNl msg %>
 <% | Web.Format s => %>
 <b>Format</b>: <% Web.htmlNl s %>
+<% | DynLinkage.DynLinkError s => %>
+<b>Linking error</b>: <% Web.htmlNl s %>
 
 <% | Init.NeedTos => %>
 <p><b>Our records indicate that you need to agree to our Terms of Service.</b></p>