lib/httparty/exceptions.rb in alexvollmer-httparty-0.2.6 vs lib/httparty/exceptions.rb in alexvollmer-httparty-0.3.1
- old
+ new
@@ -1,4 +1,7 @@
module HTTParty
+ # Exception raised when you attempt to set a non-existant format
class UnsupportedFormat < StandardError; end
+
+ # Exception that is raised when request has redirected too many times
class RedirectionTooDeep < StandardError; end
end
\ No newline at end of file