Sha256: f0e110d8ff6e4ad9caa7e42179327c0db84c0674642e9547515f5ec506b2f55f

Contents?: true

Size: 499 Bytes

Versions: 48

Compression:

Stored size: 499 Bytes

Contents

module Access
  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
      @status = response_status
      @message = response_message
    end
  end

end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
access-2.0.43 lib/access/error.rb
access-2.0.42 lib/access/error.rb
access-2.0.41 lib/access/error.rb
access-2.0.40 lib/access/error.rb
access-2.0.39 lib/access/error.rb
access-2.0.38 lib/access/error.rb
access-2.0.37 lib/access/error.rb
access-2.0.36 lib/access/error.rb
access-2.0.34 lib/access/error.rb
access-2.0.33 lib/access/error.rb
access-2.0.32 lib/access/error.rb
access-2.0.31 lib/access/error.rb
access-2.0.30 lib/access/error.rb
access-2.0.29 lib/access/error.rb
access-2.0.28 lib/access/error.rb
access-2.0.27 lib/access/error.rb
access-2.0.26 lib/access/error.rb
access-2.0.25 lib/access/error.rb
access-2.0.24 lib/access/error.rb
access-2.0.23 lib/access/error.rb