Sha256: d55630087a04eaa14341609abb97b96b9ce8f17717a48e54940a86c1e8006eac

Contents?: true

Size: 512 Bytes

Versions: 10

Compression:

Stored size: 512 Bytes

Contents

module LinkedIn
  module Errors
    class LinkedInError < StandardError
      attr_reader :data
      def initialize(data)
        @data = data
        super
      end
    end

    class UnauthorizedError      < LinkedInError; end
    class GeneralError           < LinkedInError; end
    class AccessDeniedError      < LinkedInError; end

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

Version data entries

10 entries across 10 versions & 4 rubygems

Version Path
linkedin-0.4.6 lib/linked_in/errors.rb
linkedin-0.4.4 lib/linked_in/errors.rb
linkedin-0.4.3 lib/linked_in/errors.rb
linkedin-0.4.2 lib/linked_in/errors.rb
linkedin-oauth2-0.1.1 lib/linked_in/errors.rb
linkedin-0.4.1 lib/linked_in/errors.rb
linkedin-0.4.0 lib/linked_in/errors.rb
linkedin-0.3.7 lib/linked_in/errors.rb
linkedin-drspin-0.3.6 lib/linked_in/errors.rb
brienw-linkedin-0.3.7 lib/linked_in/errors.rb