Sha256: f353944470e7ee259f9a3144debdbdb912235ea1397111f3f875f0b7b37baca5
Contents?: true
Size: 555 Bytes
Versions: 9
Compression:
Stored size: 555 Bytes
Contents
# frozen_string_literal: true require "net/http" TIMEOUT_EXCEPTIONS = [ Net::ReadTimeout, Net::OpenTimeout, Net::WriteTimeout, Errno::ETIMEDOUT, Timeout::Error, ] CONNECTION_EXCEPTIONS = [ IOError, EOFError, SocketError, Errno::EINVAL, Errno::ECONNRESET, Errno::ECONNABORTED, Errno::EPIPE, Errno::ECONNREFUSED, Errno::EAGAIN, Errno::EHOSTUNREACH, Errno::ENETUNREACH, ] NET_HTTP_EXCEPTIONS = [ Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError, *TIMEOUT_EXCEPTIONS, *CONNECTION_EXCEPTIONS, ]
Version data entries
9 entries across 9 versions & 1 rubygems