Sha256: 57c284291feacb45d676b755afb38da567de3112a85b509d529db151fad92b1f

Contents?: true

Size: 457 Bytes

Versions: 1

Compression:

Stored size: 457 Bytes

Contents

module LinkedIn

  class LinkedInError < StandardError
    attr_reader :data

    def initialize(data)
      @data = data
      super
    end
  end

  class RateLimitExceededError < LinkedInError; end
  class UnauthorizedError      < LinkedInError; end
  class GeneralError           < LinkedInError; end

  class UnavailableError    < StandardError; end
  class InformLinkedInError < StandardError; end
  class NotFoundError       < StandardError; end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
linkedin-0.3.1 lib/linked_in/errors.rb