Exception: Viewpoint::EWS::Errors::ResponseError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Viewpoint::EWS::Errors::ResponseError
- Defined in:
- lib/ews/errors.rb
Direct Known Subclasses
ServerError, SoapResponseError, UnauthorizedResponseError, UnhandledResponseError
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
- #body ⇒ Object
-
#initialize(message, response) ⇒ ResponseError
constructor
A new instance of ResponseError.
- #status ⇒ Object
Constructor Details
#initialize(message, response) ⇒ ResponseError
Returns a new instance of ResponseError.
23 24 25 26 |
# File 'lib/ews/errors.rb', line 23 def initialize(, response) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
21 22 23 |
# File 'lib/ews/errors.rb', line 21 def response @response end |
Instance Method Details
#body ⇒ Object
32 33 34 |
# File 'lib/ews/errors.rb', line 32 def body response.body end |
#status ⇒ Object
28 29 30 |
# File 'lib/ews/errors.rb', line 28 def status response.status end |