Sha256: 61a2752f16cf9c86bb720f68581359bc78933cb3601b6ce740473f3e1c533548
Contents?: true
Size: 742 Bytes
Versions: 3
Compression:
Stored size: 742 Bytes
Contents
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
3 entries across 3 versions & 1 rubygems