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 de79c38Copy full SHA for de79c38
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
+class Net::HTTPClientException < Net::ProtoServerError
20
# We cannot use the name "HTTPServerError", it is the name of the response.
21
22
23
24
# for compatibility
25
-Net::HTTPClientException = Net::HTTPServerException
+Net::HTTPServerException = Net::HTTPClientException
26
27
class Net::HTTPFatalError < Net::ProtoFatalError
28
0 commit comments