<%= @error.type %>

<%= @error.message %>
<% if @error.file_path %>
<%= @error.relative_file_path %> <% if @error.line_number %> [line <%= @error.line_number %>] <% end %>
<%= lookbook_render :file_source, file_path: @error.file_path, highlight_lines: [@error.line_number], lines_around_highlight: 5, source: @error.source, class: "border border-red-200" %>
<% end %>

Full stack trace:

<% @error.backtrace.each do |line| %>
<%= line %>
<% end %>