func net/http.Error

14 uses

	net/http (current package)
		csrf.go#L213: 			Error(w, err.Error(), StatusForbidden)
		fs.go#L159: 		Error(w, "Error reading directory", StatusInternalServerError)
		fs.go#L213: 	Error(w, text, code)
		server.go#L2373: func Error(w ResponseWriter, error string, code int) {
		server.go#L2394: func NotFound(w ResponseWriter, r *Request) { Error(w, "404 page not found", StatusNotFound) }
		server.go#L2779: 				Error(w, StatusText(StatusMethodNotAllowed), StatusMethodNotAllowed)

	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)