Sha256: b81860b32869a52c33d3b39e3c19080f79881699568803e4303e83e12fe01f57
Contents?: true
Size: 1.42 KB
Versions: 80
Compression:
Stored size: 1.42 KB
Contents
<header> <h1> <%= Rails.gem_version >= Gem::Version.new('7.1.0') ? @exception_wrapper.exception_class_name : @exception.class.to_s %> <% 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: Rails.gem_version >= Gem::Version.new('7.1.0') ? @exception_wrapper : nil %> <% if @exception.error['location'] %> <div class="source"> <div class="data"> <pre> <%= @exception.error['location']['file'] %>:<%= @exception.error['location']['line'] %>:<%= @exception.error['location']['column'] %> <%= @exception.error['location']['line'].to_s.rjust 5 %> │ <%= @exception.error['location']['line_text'] %> │ <%= (@exception.error['location']['length'] > 1 ? "~" * @exception.error['location']['length'] : "^").rjust(@exception.error['location']['column'] + @exception.error['location']['length']) %> <%- if @exception.error['location']['suggestion'].present? -%> + │ <%= @exception.error['location']['suggestion'].rjust(@exception.error['location']['column'] + 1) %> <% else %> <%- end -%> </pre> </div> </div> <% end %> <%= render template: "rescues/_request_and_response" %> </main>
Version data entries
80 entries across 80 versions & 1 rubygems