Sha256: ae8fb89bd86b59bf08ab241c21077f75144661b5b71efe995dcc68ab66e6334e
Contents?: true
Size: 330 Bytes
Versions: 1
Compression:
Stored size: 330 Bytes
Contents
# frozen_string_literal: true require 'net/http' # Example: # begin # some http call # rescue *HTTP_ERRORS => error # notify_hoptoad error # end HTTP_ERRORS = [ EOFError, Errno::ECONNRESET, Errno::EINVAL, Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError, Timeout::Error ].freeze
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
administrate-field-jsontable-0.1.0 | spec/example_app/config/initializers/errors.rb |