func net/http.Error

20 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#L6707: 		Error(w, err.Error(), StatusBadRequest)
		server.go#L2093: func Error(w ResponseWriter, error string, code int) {
		server.go#L2101: func NotFound(w ResponseWriter, r *Request) { Error(w, "404 page not found", StatusNotFound) }

	golang.org/x/net/http2
		server.go#L3194: 		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#L55: 		http.Error(w, msg, http.StatusBadRequest)
		handler_server.go#L60: 		http.Error(w, msg, http.StatusBadRequest)
		handler_server.go#L68: 		http.Error(w, msg, http.StatusUnsupportedMediaType)
		handler_server.go#L73: 		http.Error(w, msg, http.StatusInternalServerError)
		handler_server.go#L91: 			http.Error(w, msg, http.StatusBadRequest)
		handler_server.go#L111: 				http.Error(w, msg, http.StatusBadRequest)