Exception: LinkedinV2::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/linkedin_v2/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = "", details:) ⇒ Error

Returns a new instance of Error.



5
6
7
8
# File 'lib/linkedin_v2/error.rb', line 5

def initialize(msg = "", details:)
  @details = details
  super(msg)
end

Instance Attribute Details

#detailsObject (readonly)

Returns the value of attribute details.



3
4
5
# File 'lib/linkedin_v2/error.rb', line 3

def details
  @details
end