Exception: Smartsheet::RequestError

Inherits:
Error
  • Object
show all
Defined in:
lib/smartsheet/error.rb

Overview

Errors for invalid requests, timeouts, etc.

Instance Attribute Summary collapse

Instance Method Summary collapse

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.message)
  @wrapped_exception = ex
end

Instance Attribute Details

#wrapped_exceptionObject (readonly)

Returns the value of attribute wrapped_exception.



9
10
11
# File 'lib/smartsheet/error.rb', line 9

def wrapped_exception
  @wrapped_exception
end