Exception: Faraday::TimeoutError

Inherits:
ServerError show all
Defined in:
lib/faraday/error.rb

Overview

A unified client error for timeouts.

Instance Attribute Summary

Attributes inherited from Error

#response, #wrapped_exception

Instance Method Summary collapse

Methods inherited from Error

#backtrace, #inspect, #response_body, #response_headers, #response_status

Constructor Details

#initialize(exc = 'timeout', response = nil) ⇒ TimeoutError

Returns a new instance of TimeoutError.


122
123
124
# File 'lib/faraday/error.rb', line 122

def initialize(exc = 'timeout', response = nil)
  super(exc, response)
end