Exception: Kintone::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Kintone::Error
- Defined in:
- lib/kintone/client/error.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response, path, method_name, params) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(response, path, method_name, params) ⇒ Error
Returns a new instance of Error.
4 5 6 7 8 |
# File 'lib/kintone/client/error.rb', line 4 def initialize(response, path, method_name, params) = [response['message'], response['errors'], path, method_name, params].join(' ') super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
2 3 4 |
# File 'lib/kintone/client/error.rb', line 2 def response @response end |