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.



137
138
139
# File 'lib/faraday/error.rb', line 137

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