Sha256: e1ba30fbd1ed2c3a5cdff59775fc25703d19452602c40d3ec3fd615f3b8901bc
Contents?: true
Size: 716 Bytes
Versions: 26
Compression:
Stored size: 716 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
26 entries across 26 versions & 2 rubygems