aboutsummaryrefslogblamecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb
blob: c1e8b6cae37f82200743334bfda1c548d5ac1989 (plain) (tree)
1
2
3
4
5
6
7
8
9

        
                                                      
                                                                                                                               

         
 

                    
                                                                                                       
      
                                                     
 
                                           
 
                                               
 

                                                         
      
<header>
  <h1>
    <%= @exception.original_exception.class.to_s %> in
    <%= @request.parameters["controller"].camelize if @request.parameters["controller"] %>#<%= @request.parameters["action"] %>
  </h1>
</header>

<div id="container">
  <p>
    Showing <i><%= @exception.file_name %></i> where line <b>#<%= @exception.line_number %></b> raised:
  </p>
  <pre><code><%= h @exception.message %></code></pre>

  <%= render template: "rescues/_source" %>

  <p><%= @exception.sub_template_message %></p>

  <%= render template: "rescues/_trace" %>
  <%= render template: "rescues/_request_and_response" %>
</div>