2020-10-11 14:52:21 +00:00
|
|
|
module ExceptionList
|
|
|
|
URI_EXCEPTIONS = [Errno::ETIMEDOUT, Errno::ECONNREFUSED, URI::InvalidURIError, Net::OpenTimeout, SocketError].freeze
|
2021-03-27 06:57:48 +00:00
|
|
|
REST_CLIENT_EXCEPTIONS = [RestClient::NotFound, RestClient::GatewayTimeout, RestClient::BadRequest,
|
|
|
|
RestClient::MethodNotAllowed, RestClient::Forbidden].freeze
|
2020-10-11 14:52:21 +00:00
|
|
|
end
|