<%= @exception_name %> <%= @exception.class::STATUS %>

<% if show_details = ::Merb::Config[:exception_details] -%>

<%= @exception.message %>

<% else -%>

Sorry about that...

<% end -%>

Parameters

Session

Cookies

<% if show_details %> <% @exception.backtrace.each_with_index do |line, index| %> <% end %>
<%= (line.match(/^([^:]+)/)[1] rescue 'unknown').sub(/\/((opt|usr)\/local\/lib\/(ruby\/)?(gems\/)?(1.8\/)?(gems\/)?|.+\/app\/)/, '') %> <% unless line.match(/\.erb:/) %> in "<%= line.match(/:in `(.+)'$/)[1] rescue '?' %>" <% else %> (ERB Template) <% end %> <%=lineno%> 
<% (__caller_lines__(file, lineno, 5) rescue []).each do |llineno, lcode, lcurrent| %> <%= llineno %><%='' if llineno==lineno.to_i %><%= lcode.size > 90 ? CGI.escapeHTML(lcode[0..90])+'......' : CGI.escapeHTML(lcode) %><%='' if llineno==lineno.to_i %> <% end %>
<% end %>