func net/http.Error

15 uses

	net/http (current package)
		fs.go#L152: 		Error(w, "Error reading directory", StatusInternalServerError)
		fs.go#L206: 	Error(w, text, code)
		h2_bundle.go#L7402: 		Error(w, err.Error(), StatusBadRequest)
		server.go#L2309: func Error(w ResponseWriter, error string, code int) {
		server.go#L2330: func NotFound(w ResponseWriter, r *Request) { Error(w, "404 page not found", StatusNotFound) }
		server.go#L2708: 				Error(w, StatusText(StatusMethodNotAllowed), StatusMethodNotAllowed)

	golang.org/x/net/http2
		server.go#L3306: 		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)