lib/unsplash/errors.rb in unsplash-1.5.5 vs lib/unsplash/errors.rb in unsplash-1.5.6
- old
+ new
@@ -1,4 +1,6 @@
module Unsplash # :nodoc:
# Raised when there is an error communicating with Unsplash.
class Error < StandardError; end
-end
\ No newline at end of file
+ # Raise for deprecation errors
+ class DeprecationError < Error; end
+end