diff --git a/src/content/docs/zh-cn/reference/error-reference.mdx b/src/content/docs/zh-cn/reference/error-reference.mdx index 72cc6eb4357df..d2307cca14e4f 100644 --- a/src/content/docs/zh-cn/reference/error-reference.mdx +++ b/src/content/docs/zh-cn/reference/error-reference.mdx @@ -59,6 +59,9 @@ githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/ - [**FailedToLoadModuleSSR**](/zh-cn/reference/errors/failed-to-load-module-ssr/)
Could not import file. - [**InvalidGlob**](/zh-cn/reference/errors/invalid-glob/)
Invalid glob pattern. - [**FailedToFindPageMapSSR**](/zh-cn/reference/errors/failed-to-find-page-map-ssr/)
Astro couldn't find the correct page to render +- [**MissingLocale**](/zh-cn/reference/errors/missing-locale/)
The provided locale does not exist. +- [**CantRenderPage**](/zh-cn/reference/errors/cant-render-page/)
Astro can't render the route. +- [**UnhandledRejection**](/zh-cn/reference/errors/unhandled-rejection/)
Unhandled rejection ## CSS 错误 - [**UnknownCSSError**](/zh-cn/reference/errors/unknown-csserror/)
Unknown CSS Error. diff --git a/src/content/docs/zh-cn/reference/errors/content-collection-type-mismatch-error.mdx b/src/content/docs/zh-cn/reference/errors/content-collection-type-mismatch-error.mdx index eb4bc019f4dff..1e537ac093c9a 100644 --- a/src/content/docs/zh-cn/reference/errors/content-collection-type-mismatch-error.mdx +++ b/src/content/docs/zh-cn/reference/errors/content-collection-type-mismatch-error.mdx @@ -4,7 +4,7 @@ i18nReady: true githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts --- -> `COLLECTION_NAME` 包含 `ACTUAL_TYPE` 类型的条目,但却配置为 `EXPECTED_TYPE` 集合。 +> **ContentCollectionTypeMismatchError**:集合 COLLECTION 包含了 EXPECTED_TYPE 类型的条目,但是它被配置为 ACTUAL_TYPE 类型的集合。 ## 哪里发生了错误? diff --git a/src/content/docs/zh-cn/reference/errors/mixed-content-data-collection-error.mdx b/src/content/docs/zh-cn/reference/errors/mixed-content-data-collection-error.mdx index 9d097e6c88acc..55477a6fc2d08 100644 --- a/src/content/docs/zh-cn/reference/errors/mixed-content-data-collection-error.mdx +++ b/src/content/docs/zh-cn/reference/errors/mixed-content-data-collection-error.mdx @@ -4,7 +4,7 @@ i18nReady: true githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts --- -> `COLLECTION_NAME` 同时包含了内容和数据条目。所有条目必须是相同的类型。 +> **MixedContentDataCollectionError**: **COLLECTION_NAME** 同时包含了内容和数据条目。所有条目必须是相同的类型。 ## 哪里发生了错误?