lib/rosemary/errors.rb in rosemary-0.2.7 vs lib/rosemary/errors.rb in rosemary-0.2.8
- old
+ new
@@ -23,9 +23,11 @@
# The API operation wasn't authorized. This happens if you didn't set the user and
# password for a write operation.
class Unauthorized < Error; end # 401
+ class Forbidden < Error; end # 403
+
# The object was not found (HTTP 404). Generally means that the object doesn't exist
# and never has.
class NotFound < Error; end # 404
# If the request is not a HTTP PUT request
\ No newline at end of file