2020-10-11 14:52:21 +00:00
|
|
|
module ExceptionList
|
2021-08-03 14:41:52 +00:00
|
|
|
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,
|
2021-03-30 15:36:31 +00:00
|
|
|
RestClient::MethodNotAllowed, RestClient::Forbidden, RestClient::InternalServerError, RestClient::PayloadTooLarge].freeze
|
|
|
|
SMTP_EXCEPTIONS = [
|
|
|
|
Net::SMTPSyntaxError
|
|
|
|
].freeze
|
2020-10-11 14:52:21 +00:00
|
|
|
end
|