unified error handling system
This commit is contained in:
5
app/views/static/error.html.erb
Normal file
5
app/views/static/error.html.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<% if @error_message %>
|
||||
<p><%= @error_message %></p>
|
||||
<% else %>
|
||||
<p>Error: <%= @exception.to_s %></p>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user