Exception: EverSdk::SdkError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ever_sdk_client/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = message
  @data = data
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



11
12
13
# File 'lib/ever_sdk_client/types.rb', line 11

def code
  @code
end

#dataObject (readonly)

Returns the value of attribute data.



11
12
13
# File 'lib/ever_sdk_client/types.rb', line 11

def data
  @data
end

#messageObject (readonly)

Returns the value of attribute message.



11
12
13
# File 'lib/ever_sdk_client/types.rb', line 11

def message
  @message
end