<%= tag.section id: dom_id(@error), class: "space-y-6" do %>
<%= tag.h1 class: "font-bold flex items-center text-2xl gap-2" do %> <%= @error.emoji %> <%= @error.exception_class %> from <%= @error.source %> <% end %> #<%= @error.id %>
<%= @error.message %>
<%= SolidErrors::Error.human_attribute_name(:first_seen) %>
<% first_seen_at = @error.occurrences.minimum(:created_at) %> <%= time_tag first_seen_at, "#{time_ago_in_words(first_seen_at)} ago" %>
<%= SolidErrors::Error.human_attribute_name(:last_seen) %>
<% last_seen_at = @error.occurrences.maximum(:created_at) %> <%= time_tag last_seen_at, "#{time_ago_in_words(last_seen_at)} ago" %>
<%= SolidErrors::Error.human_attribute_name(:occurrences) %>
<%= @error.occurrences.size %>
<%= SolidErrors::Error.human_attribute_name(:exception_class) %>
<%= @error.exception_class %>
<%= SolidErrors::Error.human_attribute_name(:severity) %>
<%= @error.emoji %> <%= @error.severity %>
<%= SolidErrors::Error.human_attribute_name(:source) %>
<%= @error.source %>
<%= SolidErrors::Error.human_attribute_name(:project_root) %>
<%= SolidErrors::BacktraceLine::RAILS_ROOT %>
<%= SolidErrors::Error.human_attribute_name(:gem_root) %>
    <% Gem.path.each do |path| %>
  • <%= path %>
  • <% end %>
<%= render "solid_errors/errors/actions", error: @error %> <% end %>

<%= render "solid_errors/occurrences/collection", occurrences: @error.occurrences, titled: true %>