2020-10-11 14:52:21 +00:00
|
|
|
module ExceptionList
|
2021-03-27 06:57:48 +00:00
|
|
|
REST_CLIENT_EXCEPTIONS = [RestClient::NotFound, RestClient::GatewayTimeout, RestClient::BadRequest,
|
2021-08-11 11:10:28 +00:00
|
|
|
RestClient::MethodNotAllowed, RestClient::Forbidden, RestClient::InternalServerError,
|
2021-08-11 20:02:22 +00:00
|
|
|
RestClient::Exceptions::OpenTimeout, RestClient::Exceptions::ReadTimeout, SocketError].freeze
|
2021-03-30 15:36:31 +00:00
|
|
|
SMTP_EXCEPTIONS = [
|
|
|
|
Net::SMTPSyntaxError
|
|
|
|
].freeze
|
2020-10-11 14:52:21 +00:00
|
|
|
end
|