Exception: Retell::SDK::Unofficial::APITimeoutError

Inherits:
Error
  • Object
show all
Defined in:
lib/retell/sdk/unofficial/client.rb

Instance Attribute Summary collapse

Attributes inherited from Error

#code, #message

Instance Method Summary collapse

Constructor Details

#initialize(request) ⇒ APITimeoutError

Returns a new instance of APITimeoutError.



278
279
280
281
# File 'lib/retell/sdk/unofficial/client.rb', line 278

def initialize(request)
  @request = request
  super(500, "API request timed out")
end

Instance Attribute Details

#requestObject (readonly)

Returns the value of attribute request.



276
277
278
# File 'lib/retell/sdk/unofficial/client.rb', line 276

def request
  @request
end