We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b91f08 commit b3028feCopy full SHA for b3028fe
lib/net/http/exceptions.rb
@@ -16,13 +16,13 @@ class Net::HTTPError < Net::ProtocolError
16
class Net::HTTPRetriableError < Net::ProtoRetriableError
17
include Net::HTTPExceptions
18
end
19
-class Net::HTTPServerException < Net::ProtoServerError
20
- # We cannot use the name "HTTPServerError", it is the name of the response.
+class Net::HTTPClientException < Net::ProtoServerError
21
22
23
24
# for compatibility
25
-Net::HTTPClientException = Net::HTTPServerException
+Net::HTTPServerException = Net::HTTPClientException # :nodoc:
+# We cannot use the name "HTTPServerError", it is the name of the response.
26
27
class Net::HTTPFatalError < Net::ProtoFatalError
28
0 commit comments