var golang.org/x/pkgsite/internal/derrors.NotFound

48 uses

	golang.org/x/pkgsite/internal/derrors (current package)
		derrors.go#L26: 	NotFound = errors.New("not found")
		derrors.go#L118: 	{NotFound, http.StatusNotFound},

	golang.org/x/pkgsite/internal/fetch
		fetchlocal.go#L61: 		fr.Error = fmt.Errorf("%s: %w", err.Error(), derrors.NotFound)
		fetchlocal.go#L66: 		fr.Error = fmt.Errorf("%s not a directory: %w", localPath, derrors.NotFound)
		latest.go#L75: 		err := derrors.NotFound
		latest.go#L79: 		if err != nil && !errors.Is(err, derrors.NotFound) {
		latest.go#L100: 	if errors.Is(err, derrors.NotFound) || errors.Is(err, derrors.NotFetched) {
		load.go#L118: 		case errors.Is(err, derrors.NotFound):
		load.go#L299: 		return "", nil, nil, derrors.NotFound

	golang.org/x/pkgsite/internal/frontend
		404.go#L77: 		if !errors.Is(err, derrors.NotFound) {
		404.go#L94: 		if (err != nil && !errors.Is(err, derrors.NotFound)) ||
		404.go#L229: 	if err != nil && err != derrors.NotFound {
		404.go#L252: 		return nil, derrors.NotFound
		fetch.go#L401: 		if errors.Is(err, derrors.NotFound) {
		fetch.go#L468: 		if errors.Is(err, derrors.NotFound) {
		fetch.go#L496: 	if err != nil && !errors.Is(err, derrors.NotFound) {
		main.go#L178: 		if err != nil && !errors.Is(err, derrors.NotFound) {
		search.go#L304: 		if !errors.Is(err, derrors.NotFound) {
		unit.go#L111: 		if !errors.Is(err, derrors.NotFound) {

	golang.org/x/pkgsite/internal/localdatasource
		datasource.go#L60: 		return fmt.Errorf("path %s doesn't exist: %w", importPath, derrors.NotFound)
		datasource.go#L120: 		return nil, fmt.Errorf("%s not loaded: %w", modulepath, derrors.NotFound)
		datasource.go#L130: 	return nil, fmt.Errorf("%s not found: %w", path, derrors.NotFound)
		datasource.go#L148: 		return nil, fmt.Errorf("%s not loaded: %w", requestedModulePath, derrors.NotFound)
		datasource.go#L187: 	return "", fmt.Errorf("%s not loaded: %w", pkgPath, derrors.NotFound)

	golang.org/x/pkgsite/internal/postgres
		details.go#L151: 		return nil, derrors.NotFound
		insert_module.go#L682: 		if err != nil && !errors.Is(err, derrors.NotFound) {
		postgres.go#L109: 		return time.Time{}, derrors.NotFound
		test_helper.go#L141: 		if errors.Is(err, derrors.NotFound) && os.Getenv("GO_DISCOVERY_TESTDB") != "true" {
		test_helper.go#L170: 			if errors.Is(err, derrors.NotFound) && os.Getenv("GO_DISCOVERY_TESTDB") != "true" {
		unit.go#L109: 		return nil, derrors.NotFound
		unit.go#L234: 		return "", "", nil, derrors.NotFound
		unit.go#L307: 		return 0, derrors.NotFound
		unit.go#L650: 		return nil, derrors.NotFound
		version_map.go#L91: 		return nil, derrors.NotFound
		versionstate.go#L342: 		return nil, derrors.NotFound
		versionstate.go#L409: 		return nil, derrors.NotFound
		versionstate.go#L478: 		return false, derrors.NotFound
		versionstate.go#L496: 		return false, derrors.NotFound

	golang.org/x/pkgsite/internal/proxy
		client.go#L297: 			err = derrors.NotFound

	golang.org/x/pkgsite/internal/proxydatasource
		datasource.go#L170: 		if errors.Is(err, derrors.NotFound) {
		datasource.go#L178: 	return "", nil, fmt.Errorf("unable to find module: %w", derrors.NotFound)
		datasource.go#L193: 	return nil, fmt.Errorf("%q missing from module %s: %w", fullPath, m.ModulePath, derrors.NotFound)
		datasource.go#L250: 		if errors.Is(err, derrors.NotFound) {

	golang.org/x/pkgsite/internal/source
		meta-tags.go#L149: 		return nil, fmt.Errorf("%s: %w", errorMessage, derrors.NotFound)
		source.go#L369: 	return "", "", urlTemplates{}, nil, derrors.NotFound

	golang.org/x/pkgsite/internal/testing/dbtest
		dbtest.go#L72: 		return fmt.Errorf("%w: %v", derrors.NotFound, err)

	golang.org/x/pkgsite/internal/worker
		fetch.go#L314: 		if !errors.Is(err, derrors.NotFound) {
		server.go#L387: 	if errors.Is(err, derrors.NotFound) {