lib/unsplash/errors.rb in unsplash-1.5.6 vs lib/unsplash/errors.rb in unsplash-2.0.0
- old
+ new
@@ -1,6 +1,10 @@
module Unsplash # :nodoc:
# Raised when there is an error communicating with Unsplash.
class Error < StandardError; end
# Raise for deprecation errors
class DeprecationError < Error; end
+
+ class UnauthorizedError < Error; end
+ class ForbiddenError < Error; end
+ class NotFoundError < Error; end
end