<% error = error.is_a?(Lookbook::Error) ? error : Lookbook::Error.new(error) @title = error.title disable_header ||= false %> <%= component "header" unless disable_header %>

<%= error.title %>

<% if error.file_name %>
<%= error.file_name %><%= ":#{error.line_number}" if error.line_number %>
<% end %>
<%= error.message %>

Full stack trace

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