Module: Aranha::TemporaryErrors

Defined in:
lib/aranha/temporary_errors.rb

Constant Summary collapse

ARANHA_ERRORS =
[::Aranha::Parsers::InvalidStateException,
::Aranha::Parsers::SourceAddress::FetchContentError].freeze
CORE_ERRORS =
[::SocketError].freeze
ERRNO_ERRORS =
[Errno::ECONNREFUSED, ::Errno::ECONNRESET].freeze
NET_ERRORS =
[::Net::HTTPFatalError, ::Net::HTTPServerException, ::Net::OpenTimeout].freeze
SELENIUM_ERRORS =
[::Selenium::WebDriver::Error::TimeoutError].freeze
ALL_ERRORS =
ARANHA_ERRORS + CORE_ERRORS + ERRNO_ERRORS + NET_ERRORS + SELENIUM_ERRORS

Class Method Summary collapse

Class Method Details

.errorsObject



20
21
22
# File 'lib/aranha/temporary_errors.rb', line 20

def errors
  ALL_ERRORS
end