lib/harvesting/errors.rb in harvesting-0.4.0 vs lib/harvesting/errors.rb in harvesting-0.5.0
- old
+ new
@@ -2,6 +2,15 @@
class AuthenticationError < StandardError
end
class UnprocessableRequest < StandardError
end
+
+ class RequestNotFound < StandardError
+ def initialize(uri)
+ super("The page you were looking for may have been moved or the address misspelled: #{uri}")
+ end
+ end
+
+ class RateLimitExceeded < StandardError
+ end
end