Sha256: 78abfff8f640c56aae1ac1e364c32397fa8034e49e1fea5b20a6f4bc87637ac8
Contents?: true
Size: 736 Bytes
Versions: 114
Compression:
Stored size: 736 Bytes
Contents
require 'net/http' require 'net/smtp' # Example: # begin # some http call # rescue *HTTP_ERRORS => error # notify_hoptoad error # end HTTP_ERRORS = [Timeout::Error, Errno::EINVAL, Errno::ECONNRESET, EOFError, Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError] SMTP_SERVER_ERRORS = [TimeoutError, IOError, Net::SMTPUnknownError, Net::SMTPServerBusy, Net::SMTPAuthenticationError] SMTP_CLIENT_ERRORS = [Net::SMTPFatalError, Net::SMTPSyntaxError] SMTP_ERRORS = SMTP_SERVER_ERRORS + SMTP_CLIENT_ERRORS
Version data entries
114 entries across 114 versions & 12 rubygems