Exception: EverSdk::SdkError
- Inherits:
-
StandardError
- Object
- StandardError
- EverSdk::SdkError
- Defined in:
- lib/ever_sdk_client/types.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(code: nil, message: nil, data: nil) ⇒ SdkError
constructor
A new instance of SdkError.
Constructor Details
#initialize(code: nil, message: nil, data: nil) ⇒ SdkError
Returns a new instance of SdkError.
13 14 15 16 17 |
# File 'lib/ever_sdk_client/types.rb', line 13 def initialize(code: nil, message: nil, data: nil) @code = code @message = @data = data end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
11 12 13 |
# File 'lib/ever_sdk_client/types.rb', line 11 def code @code end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
11 12 13 |
# File 'lib/ever_sdk_client/types.rb', line 11 def data @data end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
11 12 13 |
# File 'lib/ever_sdk_client/types.rb', line 11 def @message end |