Exception: Wsapi::StandardErrorWithResponse
- Inherits:
-
StandardError
- Object
- StandardError
- Wsapi::StandardErrorWithResponse
- Defined in:
- lib/wsapi/session.rb
Direct Known Subclasses
ApiError, AuthorizationError, IpAddressLimited, ObjectNotFoundError
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(msg, response = nil) ⇒ StandardErrorWithResponse
constructor
A new instance of StandardErrorWithResponse.
Constructor Details
#initialize(msg, response = nil) ⇒ StandardErrorWithResponse
Returns a new instance of StandardErrorWithResponse.
9 10 11 12 |
# File 'lib/wsapi/session.rb', line 9 def initialize(msg, response = nil) @response = response super(msg) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
8 9 10 |
# File 'lib/wsapi/session.rb', line 8 def response @response end |