From 471b6480e284ee35fb302f5ef6e0b8b86bca710a Mon Sep 17 00:00:00 2001 From: delucis Date: Mon, 2 Sep 2024 12:05:22 +0000 Subject: [PATCH] ci: update error reference docs --- src/content/docs/en/reference/error-reference.mdx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/content/docs/en/reference/error-reference.mdx b/src/content/docs/en/reference/error-reference.mdx index e93a98ac8bb1d..733ba872bc129 100644 --- a/src/content/docs/en/reference/error-reference.mdx +++ b/src/content/docs/en/reference/error-reference.mdx @@ -18,7 +18,6 @@ The following reference is a complete list of the errors you may encounter while ## Astro Errors - [**UnknownCompilerError**](/en/reference/errors/unknown-compiler-error/)
Unknown compiler error. -- [**StaticRedirectNotAvailable**](/en/reference/errors/static-redirect-not-available/)
`Astro.redirect` is not available in static mode. - [**ClientAddressNotAvailable**](/en/reference/errors/client-address-not-available/)
`Astro.clientAddress` is not available in current adapter. - [**PrerenderClientAddressNotAvailable**](/en/reference/errors/prerender-client-address-not-available/)
`Astro.clientAddress` cannot be used inside prerendered routes. - [**StaticClientAddressNotAvailable**](/en/reference/errors/static-client-address-not-available/)
`Astro.clientAddress` is not available in static mode. @@ -31,7 +30,6 @@ The following reference is a complete list of the errors you may encounter while - [**InvalidGetStaticPathParam**](/en/reference/errors/invalid-get-static-path-param/)
Invalid value returned by a `getStaticPaths` path. - [**InvalidGetStaticPathsEntry**](/en/reference/errors/invalid-get-static-paths-entry/)
Invalid entry inside getStaticPath's return value - [**InvalidGetStaticPathsReturn**](/en/reference/errors/invalid-get-static-paths-return/)
Invalid value returned by getStaticPaths. -- [**GetStaticPathsRemovedRSSHelper**](/en/reference/errors/get-static-paths-removed-rsshelper/)
getStaticPaths RSS helper is not available anymore. - [**GetStaticPathsExpectedParams**](/en/reference/errors/get-static-paths-expected-params/)
Missing params property on `getStaticPaths` route. - [**GetStaticPathsInvalidRouteParam**](/en/reference/errors/get-static-paths-invalid-route-param/)
Invalid value for `getStaticPaths` route parameter. - [**GetStaticPathsRequired**](/en/reference/errors/get-static-paths-required/)
`getStaticPaths()` function required for dynamic routes. @@ -54,7 +52,6 @@ The following reference is a complete list of the errors you may encounter while - [**IncompatibleDescriptorOptions**](/en/reference/errors/incompatible-descriptor-options/)
Cannot set both `densities` and `widths` - [**ImageNotFound**](/en/reference/errors/image-not-found/)
Image not found. - [**NoImageMetadata**](/en/reference/errors/no-image-metadata/)
Could not process image metadata. -- [**MarkdownImageNotFound**](/en/reference/errors/markdown-image-not-found/)
Image not found. - [**CouldNotTransformImage**](/en/reference/errors/could-not-transform-image/)
Could not transform image. - [**ResponseSentError**](/en/reference/errors/response-sent-error/)
Unable to set response. - [**MiddlewareNoDataOrNextCalled**](/en/reference/errors/middleware-no-data-or-next-called/)
The middleware didn't return a `Response`. @@ -78,7 +75,6 @@ The following reference is a complete list of the errors you may encounter while - [**IncorrectStrategyForI18n**](/en/reference/errors/incorrect-strategy-for-i18n/)
You can't use the current function with the current strategy - [**NoPrerenderedRoutesWithDomains**](/en/reference/errors/no-prerendered-routes-with-domains/)
Prerendered routes aren't supported when internationalization domains are enabled. - [**MissingMiddlewareForInternationalization**](/en/reference/errors/missing-middleware-for-internationalization/)
Enabled manual internationalization routing without having a middleware. -- [**RewriteEncounteredAnError**](/en/reference/errors/rewrite-encountered-an-error/)
Astro couldn't find the route to rewrite, or if was found but it emitted an error during the rendering phase. - [**CantRenderPage**](/en/reference/errors/cant-render-page/)
Astro can't render the route. - [**UnhandledRejection**](/en/reference/errors/unhandled-rejection/)
Unhandled rejection - [**i18nNotEnabled**](/en/reference/errors/i18n-not-enabled/)
i18n Not Enabled @@ -117,7 +113,6 @@ The following reference is a complete list of the errors you may encounter while - [**InvalidContentEntryFrontmatterError**](/en/reference/errors/invalid-content-entry-frontmatter-error/)
Content entry frontmatter does not match schema. - [**InvalidContentEntrySlugError**](/en/reference/errors/invalid-content-entry-slug-error/)
Invalid content entry slug. - [**ContentSchemaContainsSlugError**](/en/reference/errors/content-schema-contains-slug-error/)
Content Schema should not contain `slug`. -- [**CollectionDoesNotExistError**](/en/reference/errors/collection-does-not-exist-error/)
Collection does not exist - [**MixedContentDataCollectionError**](/en/reference/errors/mixed-content-data-collection-error/)
Content and data cannot be in same collection. - [**ContentCollectionTypeMismatchError**](/en/reference/errors/content-collection-type-mismatch-error/)
Collection contains entries of a different type. - [**DataCollectionEntryParseError**](/en/reference/errors/data-collection-entry-parse-error/)
Data collection entry failed to parse.