Exception: Robocap::SDK::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Robocap::SDK::Error
- Defined in:
- lib/robocap/sdk/errors.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#detail ⇒ Object
readonly
Returns the value of attribute detail.
Instance Method Summary collapse
-
#initialize(code:, message:, detail: nil) ⇒ Error
constructor
A new instance of Error.
- #to_h ⇒ Object
Constructor Details
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
50 51 52 |
# File 'lib/robocap/sdk/errors.rb', line 50 def code @code end |
#detail ⇒ Object (readonly)
Returns the value of attribute detail.
50 51 52 |
# File 'lib/robocap/sdk/errors.rb', line 50 def detail @detail end |