Skip to content

Commit

Permalink
Adding error handling class
Browse files Browse the repository at this point in the history
  • Loading branch information
cometman committed Sep 28, 2015
1 parent c8eff2a commit 96af63d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/open_calais/calais_error.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
class CalaisError < StandardError
attr_reader :object

def initialize(object)
@object = object
end

end

0 comments on commit 96af63d

Please sign in to comment.