func net/http.Error
16 uses
net/http (current package)
fs.go#L148: Error(w, "Error reading directory", StatusInternalServerError)
fs.go#L245: Error(w, "seeker can't seek", StatusInternalServerError)
fs.go#L256: Error(w, err.Error(), StatusInternalServerError)
fs.go#L261: Error(w, "negative content size computed", StatusInternalServerError)
fs.go#L283: Error(w, err.Error(), StatusRequestedRangeNotSatisfiable)
fs.go#L309: Error(w, err.Error(), StatusRequestedRangeNotSatisfiable)
fs.go#L617: Error(w, msg, code)
fs.go#L625: Error(w, msg, code)
fs.go#L737: Error(w, "invalid URL path", StatusBadRequest)
h2_bundle.go#L7078: Error(w, err.Error(), StatusBadRequest)
server.go#L2145: func Error(w ResponseWriter, error string, code int) {
server.go#L2153: func NotFound(w ResponseWriter, r *Request) { Error(w, "404 page not found", StatusNotFound) }
nhooyr.io/websocket
accept.go#L91: http.Error(w, err.Error(), errCode)
accept.go#L103: http.Error(w, err.Error(), http.StatusForbidden)
accept.go#L111: http.Error(w, http.StatusText(http.StatusNotImplemented), http.StatusNotImplemented)
accept.go#L142: http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |