Exception: Base4R::ErrorResponse
- Inherits:
-
BaseException
- Object
- Exception
- BaseException
- Base4R::ErrorResponse
- Defined in:
- lib/base_client.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(msg, resp) ⇒ ErrorResponse
constructor
A new instance of ErrorResponse.
Constructor Details
#initialize(msg, resp) ⇒ ErrorResponse
Returns a new instance of ErrorResponse.
28 29 30 31 |
# File 'lib/base_client.rb', line 28 def initialize(msg, resp) @response = resp super msg end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
26 27 28 |
# File 'lib/base_client.rb', line 26 def response @response end |