lib/access/error.rb in access-2.0.13 vs lib/access/error.rb in access-2.0.14
- old
+ new
@@ -2,9 +2,10 @@
class Error
class AuthenticationError < StandardError; end
class NoAccessToken < AuthenticationError; end
class InvalidResponseFormat < TypeError; end
class Timeout < Timeout::Error ; end
+ class NoData < EOFError; end
attr_reader :message, :status_code, :status
def initialize(response_status, response_code, response_message = nil)
@status_code = response_code