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 fad35ec commit 7d2a02fCopy full SHA for 7d2a02f
1 file changed
transport.go
@@ -39,10 +39,10 @@ func methodProbablyWrong(method string) bool {
39
return !stdMethods[method] && stdMethods[strings.ToUpper(method)]
40
}
41
42
-// ConnectionFailure is a responder that returns a connection failure.
43
-// This is the default responder and is called when no other matching
44
-// responder is found. See [RegisterNoResponder] to override this
45
-// default behavior.
+// ConnectionFailure is a responder that returns the error
+// [NoResponderFound]. This is the default responder and is called
+// when no other matching responder is found. See
+// [RegisterNoResponder] to override this default behavior.
46
func ConnectionFailure(*http.Request) (*http.Response, error) {
47
return nil, NoResponderFound
48
0 commit comments