func net/http.Error
16 uses
net/http (current package)
csrf.go#L209: Error(w, err.Error(), StatusForbidden)
fs.go#L157: Error(w, "Error reading directory", StatusInternalServerError)
fs.go#L211: Error(w, text, code)
h2_bundle.go#L7259: Error(w, err.Error(), StatusBadRequest)
server.go#L2337: func Error(w ResponseWriter, error string, code int) {
server.go#L2358: func NotFound(w ResponseWriter, r *Request) { Error(w, "404 page not found", StatusNotFound) }
server.go#L2743: Error(w, StatusText(StatusMethodNotAllowed), StatusMethodNotAllowed)
golang.org/x/net/http2
server.go#L3288: http.Error(w, err.Error(), http.StatusBadRequest)
golang.org/x/net/trace
trace.go#L154: http.Error(w, "not allowed", http.StatusUnauthorized)
trace.go#L169: http.Error(w, "not allowed", http.StatusUnauthorized)
google.golang.org/grpc/internal/transport
handler_server.go#L57: http.Error(w, msg, http.StatusMethodNotAllowed)
handler_server.go#L65: http.Error(w, msg, http.StatusUnsupportedMediaType)
handler_server.go#L70: http.Error(w, msg, http.StatusHTTPVersionNotSupported)
handler_server.go#L75: http.Error(w, msg, http.StatusInternalServerError)
handler_server.go#L109: http.Error(w, msg, http.StatusBadRequest)
handler_server.go#L129: http.Error(w, msg, http.StatusBadRequest)