Exception

<% switch Web.getExn () of Fail msg => %> Fail: <% Web.htmlNl msg %> <% | App.C.Sql msg => %> SQL: <% Web.htmlNl msg %> <% | Web.Format s => %> Format: <% Web.htmlNl s %> <% | IO.Io { name, function, cause } => %> IO Exception: Name: <% Web.html name %> Function: <% Web.html function %> <% | ex => %> Unknown exception kind. Backtrace: <% foreach s in SMLofNJ.exnHistory ex do %>
  • <% Web.html s %>
  • <% end end %>