Sha256: 31c0911a14f0119233ef2038fbcd5b525a4229a758c4b94cb37a56aedf6b7f14
Contents?: true
Size: 657 Bytes
Versions: 16
Compression:
Stored size: 657 Bytes
Contents
# frozen_string_literal: true require "net/http" module ThemeCheck 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, Errno::EADDRNOTAVAIL, ] NET_HTTP_EXCEPTIONS = [ Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError, *TIMEOUT_EXCEPTIONS, *CONNECTION_EXCEPTIONS, ] end
Version data entries
16 entries across 16 versions & 1 rubygems