lib/access/error.rb in access-2.0.1 vs lib/access/error.rb in access-2.0.2
- old
+ new
@@ -1,16 +1,18 @@
module Access
class Error
class AuthenticationError < StandardError; end
class NoAccessToken < AuthenticationError; end
class InvalidResponseFormat < TypeError; end
+ class Timeout < Timeout::Error ; end
attr_reader :message, :status_code, :status
def initialize(response_status, response_code, response_message = nil)
@status_code = response_code
@status = response_status
@message = response_message
end
end
+
end