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.3.0.pre.rc2 lib/access/error.rb
access-2.3.0.pre.rc1 lib/access/error.rb
access-2.2.0 lib/access/error.rb
access-2.1.5 lib/access/error.rb
access-2.1.4 lib/access/error.rb
access-2.1.3 lib/access/error.rb
access-2.1.2 lib/access/error.rb
access-2.1.1 lib/access/error.rb
access-2.1.0 lib/access/error.rb
access-2.0.55 lib/access/error.rb
access-2.0.54 lib/access/error.rb
access-2.0.53 lib/access/error.rb
access-2.0.52 lib/access/error.rb
access-2.0.51 lib/access/error.rb
access-2.0.50 lib/access/error.rb
access-2.0.49 lib/access/error.rb
access-2.0.48 lib/access/error.rb
access-2.0.47 lib/access/error.rb
access-2.0.46 lib/access/error.rb
access-2.0.44 lib/access/error.rb