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

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

View File

@@ -1 +0,0 @@
{success: false, message: "<%= @exception.to_s %>"}

View File

@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<result success="false"><%= @exception.to_s %></result>