9 lines
532 B
Ruby
9 lines
532 B
Ruby
module ExceptionList
|
|
REST_CLIENT_EXCEPTIONS = [RestClient::NotFound, RestClient::GatewayTimeout, RestClient::BadRequest,
|
|
RestClient::MethodNotAllowed, RestClient::Forbidden, RestClient::InternalServerError,
|
|
RestClient::Exceptions::OpenTimeout, RestClient::Exceptions::ReadTimeout,
|
|
RestClient::MovedPermanently, RestClient::ServiceUnavailable, Errno::ECONNREFUSED, SocketError].freeze
|
|
SMTP_EXCEPTIONS = [
|
|
Net::SMTPSyntaxError
|
|
].freeze
|
|
end
|