Sha256: e85039939bdabd28ebe247dfa257601c2a639c1f697ff9d88a4aa8cd2600f09a
Contents?: true
Size: 865 Bytes
Versions: 3
Compression:
Stored size: 865 Bytes
Contents
module LinkedIn module Errors class LinkedInError < StandardError attr_reader :data def initialize(data) @data = data super end end # Raised when a 401 response status code is received class UnauthorizedError < LinkedInError; end # Raised when a 400 response status code is received class GeneralError < LinkedInError; end # Raised when a 403 response status code is received class AccessDeniedError < LinkedInError; end # Raised when a 404 response status code is received class NotFoundError < StandardError; end # Raised when a 500 response status code is received class InformLinkedInError < StandardError; end # Raised when a 502 or 503 response status code is received class UnavailableError < StandardError; end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
linkedin-1.1.0 | lib/linked_in/errors.rb |
linkedin-1.0.0 | lib/linked_in/errors.rb |
linkedin-0.4.7 | lib/linked_in/errors.rb |