Exception: WhitLi::Errors::WhitLiError
- Inherits:
-
StandardError
- Object
- StandardError
- WhitLi::Errors::WhitLiError
- Defined in:
- lib/whit_li/errors.rb
Direct Known Subclasses
AccessDeniedError, GeneralError, InformLinkedInError, NotFoundError, UnauthorizedError, UnavailableError
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ WhitLiError
constructor
A new instance of WhitLiError.
Constructor Details
#initialize(data) ⇒ WhitLiError
Returns a new instance of WhitLiError.
5 6 7 8 |
# File 'lib/whit_li/errors.rb', line 5 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
4 5 6 |
# File 'lib/whit_li/errors.rb', line 4 def data @data end |