Created
October 25, 2010 14:14
-
-
Save nbibler/645016 to your computer and use it in GitHub Desktop.
A collection of exceptions raised by Net::HTTP(S)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP_ERRORS = [ | |
Timeout::Error, | |
Errno::EADDRNOTAVAIL, | |
Errno::ETIMEDOUT, | |
Errno::EINVAL, | |
Errno::ECONNRESET, | |
Errno::ECONNREFUSED, | |
Errno::EHOSTUNREACH, | |
EOFError, | |
Net::HTTPBadResponse, | |
Net::HTTPHeaderSyntaxError, | |
Net::ProtocolError | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment