Exception: Smartsheet::RequestError
- Defined in:
- lib/smartsheet/error.rb
Overview
Errors for invalid requests, timeouts, etc.
Instance Attribute Summary collapse
-
#wrapped_exception ⇒ Object
readonly
Returns the value of attribute wrapped_exception.
Instance Method Summary collapse
-
#initialize(ex) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(ex) ⇒ RequestError
Returns a new instance of RequestError.
11 12 13 14 |
# File 'lib/smartsheet/error.rb', line 11 def initialize(ex) super(ex.) @wrapped_exception = ex end |
Instance Attribute Details
#wrapped_exception ⇒ Object (readonly)
Returns the value of attribute wrapped_exception.
9 10 11 |
# File 'lib/smartsheet/error.rb', line 9 def wrapped_exception @wrapped_exception end |