Sha256: 676d1c9bd9a8faaf684eaa242255e84e60a9fb8ceff66ef22b609eaa011d657b

Contents?: true

Size: 511 Bytes

Versions: 7

Compression:

Stored size: 511 Bytes

Contents

module EzLinkedin
	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

7 entries across 7 versions & 1 rubygems

Version Path
ezlinkedin-0.5.3 lib/ezlinkedin/errors.rb
ezlinkedin-0.5.2 lib/ezlinkedin/errors.rb
ezlinkedin-0.4.2 lib/ezlinkedin/errors.rb
ezlinkedin-0.2.2 lib/ezlinkedin/errors.rb
ezlinkedin-0.1.2 lib/ezlinkedin/errors.rb
ezlinkedin-0.1.1 lib/ezlinkedin/errors.rb
ezlinkedin-0.0.1 lib/ezlinkedin/errors.rb