unified error handling system

This commit is contained in:
albert
2013-02-22 14:45:39 -05:00
parent a1737b3019
commit ae6e8fce30
10 changed files with 19 additions and 10 deletions

View File

@@ -0,0 +1,5 @@
<% if @error_message %>
<p><%= @error_message %></p>
<% else %>
<p>Error: <%= @exception.to_s %></p>
<% end %>