Sha256: 605ec2222255f993622ea84e92b8f1d958596a41121873653578717ff7a6fd28

Contents?: true

Size: 1.54 KB

Versions: 42

Compression:

Stored size: 1.54 KB

Contents

<header>
  <h1>
    <%= @exception_wrapper.exception_class_name %>
    <% if params_valid? && @request.parameters['controller'] %>
      in <%= @request.parameters['controller'].camelize %>Controller<% if @request.parameters['action'] %>#<%= @request.parameters['action'] %><% end %>
    <% end %>
  </h1>
</header>

<main role="main" id="container">
  <%= render "rescues/message_and_suggestions", exception: @exception, exception_wrapper: @exception_wrapper %>
  <%= render "rescues/actions", exception: @exception, request: @request, exception_wrapper: @exception_wrapper %>

  <%= render "rescues/source", source_extracts: @source_extracts, show_source_idx: @show_source_idx, error_index: 0 %>
  <%= render "rescues/trace", traces: @traces, trace_to_show: @trace_to_show, error_index: 0 %>

  <% if @exception_wrapper.has_cause? %>
    <h2>Exception Causes</h2>
  <% end %>

  <% @exception_wrapper.wrapped_causes.each.with_index(1) do |wrapper, index| %>
    <div class="details">
      <a class="summary" href="#" onclick="return toggle(<%= wrapper.exception_id %>)">
        <%= wrapper.exception_class_name %>: <%= h wrapper.message %>
      </a>
    </div>

    <div id="<%= wrapper.exception_id %>" class="hidden">
      <%= render "rescues/source", source_extracts: wrapper.source_extracts, show_source_idx: wrapper.source_to_show_id, error_index: index %>
      <%= render "rescues/trace", traces: wrapper.traces, trace_to_show: wrapper.trace_to_show, error_index: index %>
    </div>
  <% end %>

  <%= render template: "rescues/_request_and_response" %>
</main>

Version data entries

42 entries across 42 versions & 5 rubygems

Version Path
actionpack-8.0.2 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-8.0.1 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-8.0.0.1 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-7.2.2.1 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-7.1.5.1 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-8.0.0 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-7.2.2 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-7.1.5 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-8.0.0.rc2 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-7.2.1.2 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-7.1.4.2 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-8.0.0.rc1 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-7.2.1.1 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-7.1.4.1 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-8.0.0.beta1 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
omg-actionpack-8.0.0.alpha9 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
omg-actionpack-8.0.0.alpha8 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
omg-actionpack-8.0.0.alpha7 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
omg-actionpack-8.0.0.alpha4 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb