<%= @frame.name %>

<%== html_formatted_code_block @frame %>
<% if BetterErrors.binding_of_caller_available? && @frame.frame_binding %>

                
>>
<% end %>
<% if BetterErrors.binding_of_caller_available? && @frame.frame_binding %>
This is a live shell. Type in here.
<% end %> <% unless BetterErrors.binding_of_caller_available? %>
Tip: add gem "binding_of_caller" to your Gemfile to enable the REPL and local/instance variable inspection.
<% end %>

Request info

<% if rails_params %> <% end %> <% if rack_session %> <% end %>
Request parameters
<%== inspect_value rails_params %>
Rack session
<%== inspect_value rack_session %>
<% if BetterErrors.binding_of_caller_available? && @frame.frame_binding %>

Local Variables

<% @frame.local_variables.each do |name, value| %> <% end %>
<%= name %>
<%== inspect_value value %>

Instance Variables

<% @frame.instance_variables.each do |name, value| %> <% end %>
<%= name %>
<%== inspect_value value %>
<% end %>