Skip to content

Commit

Permalink
i18n(zh-cn): Update error-reference.mdx (withastro#6449)
Browse files Browse the repository at this point in the history
* i18n(zh-cn): Update error-reference.mdx

* format

* feat: 增加微信公众号样式

* Delete src/styles/wechat.css

---------

Co-authored-by: Yan Thomas <[email protected]>
  • Loading branch information
liruifengv and yanthomasdev authored Jan 19, 2024
1 parent 2a810ed commit a15ec5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/content/docs/zh-cn/reference/error-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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/)<br/>Could not import file.
- [**InvalidGlob**](/zh-cn/reference/errors/invalid-glob/)<br/>Invalid glob pattern.
- [**FailedToFindPageMapSSR**](/zh-cn/reference/errors/failed-to-find-page-map-ssr/)<br/>Astro couldn't find the correct page to render
- [**MissingLocale**](/zh-cn/reference/errors/missing-locale/)<br/>The provided locale does not exist.
- [**CantRenderPage**](/zh-cn/reference/errors/cant-render-page/)<br/>Astro can't render the route.
- [**UnhandledRejection**](/zh-cn/reference/errors/unhandled-rejection/)<br/>Unhandled rejection
## CSS 错误

- [**UnknownCSSError**](/zh-cn/reference/errors/unknown-csserror/)<br/>Unknown CSS Error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 类型的集合
## 哪里发生了错误?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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** 同时包含了内容和数据条目。所有条目必须是相同的类型。
## 哪里发生了错误?

Expand Down

0 comments on commit a15ec5c

Please sign in to comment.