lib/bamboozled/errors.rb in bamboozled-0.0.2 vs lib/bamboozled/errors.rb in bamboozled-0.0.3
- old
+ new
@@ -14,10 +14,9 @@
def to_s
"#{self.class.to_s} : #{response.code} #{response.body}" + (hint ? "\n#{hint}" : "")
end
end
- # 400
class BadRequest < HTTPError; end #400
class Unauthorized < HTTPError ; end #
class Forbidden < HTTPError ; end # 403
class NotFound < HTTPError; end # 404
class NotAcceptable < HTTPError; end # 406