Exception: Kura::ApiError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Kura::ApiError
- Defined in:
- lib/kura.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason, message) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(reason, message) ⇒ ApiError
Returns a new instance of ApiError.
8 9 10 11 |
# File 'lib/kura.rb', line 8 def initialize(reason, ) @reason = reason super() end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
12 13 14 |
# File 'lib/kura.rb', line 12 def reason @reason end |