Class: ProxyFetcher::Exceptions::MaximumRetriesReached

Inherits:
ProxyFetcher::Error
  • Object
show all
Defined in:
lib/proxy_fetcher/exceptions.rb

Overview

Exception for cases when HTTP client reached maximum count of retries trying to process HTTP request. Can occur when request failed by timeout multiple times.

Instance Method Summary collapse

Constructor Details

#initializeMaximumRetriesReached

Initialize new exception



68
69
70
# File 'lib/proxy_fetcher/exceptions.rb', line 68

def initialize(*)
  super("reached the maximum number of retries")
end