func net/http.Error
11 uses
net/http (current package)
fs.go#L146: Error(w, "Error reading directory", StatusInternalServerError)
fs.go#L243: Error(w, "seeker can't seek", StatusInternalServerError)
fs.go#L254: Error(w, err.Error(), StatusInternalServerError)
fs.go#L267: Error(w, err.Error(), StatusRequestedRangeNotSatisfiable)
fs.go#L292: Error(w, err.Error(), StatusRequestedRangeNotSatisfiable)
fs.go#L600: Error(w, msg, code)
fs.go#L608: Error(w, msg, code)
fs.go#L721: Error(w, "invalid URL path", StatusBadRequest)
h2_bundle.go#L6523: Error(w, err.Error(), StatusBadRequest)
server.go#L2078: func Error(w ResponseWriter, error string, code int) {
server.go#L2086: func NotFound(w ResponseWriter, r *Request) { Error(w, "404 page not found", StatusNotFound) }