lib/apimaster/error.rb in apimaster-0.0.7 vs lib/apimaster/error.rb in apimaster-0.1.1

- old
+ new

@@ -50,10 +50,10 @@ def initialize(resource = nil, field = nil) super("Our results indicate a positive relationship exists.", 409, :relation_exists, resource, field) end end - class RequestError < StandardError + class RequestError < NormalError def initialize(resource = nil, field = nil) super("Problems parsing JSON.", 400, :parse_error, resource, field) end end