diff --git a/src/content/docs/en/reference/error-reference.mdx b/src/content/docs/en/reference/error-reference.mdx index e7b7609fe73b6..674e5a68206cf 100644 --- a/src/content/docs/en/reference/error-reference.mdx +++ b/src/content/docs/en/reference/error-reference.mdx @@ -90,6 +90,7 @@ The following reference is a complete list of the errors you may encounter while - [**ForbiddenRewrite**](/en/reference/errors/forbidden-rewrite/)
Forbidden rewrite to a static route. - [**UnknownFilesystemError**](/en/reference/errors/unknown-filesystem-error/)
An unknown error occurred while reading or writing files to disk. - [**CannotExtractFontType**](/en/reference/errors/cannot-extract-font-type/)
Cannot extract the font type from the given URL. +- [**CannotDetermineWeightAndStyleFromFontFile**](/en/reference/errors/cannot-determine-weight-and-style-from-font-file/)
Cannot determine weight and style from font file. - [**CannotFetchFontFile**](/en/reference/errors/cannot-fetch-font-file/)
Cannot fetch the given font file. - [**CannotLoadFontProvider**](/en/reference/errors/cannot-load-font-provider/)
Cannot load font provider - [**ExperimentalFontsNotEnabled**](/en/reference/errors/experimental-fonts-not-enabled/)
Experimental fonts are not enabled diff --git a/src/content/docs/en/reference/errors/cannot-determine-weight-and-style-from-font-file.mdx b/src/content/docs/en/reference/errors/cannot-determine-weight-and-style-from-font-file.mdx new file mode 100644 index 0000000000000..9d517c518d342 --- /dev/null +++ b/src/content/docs/en/reference/errors/cannot-determine-weight-and-style-from-font-file.mdx @@ -0,0 +1,22 @@ +--- +# NOTE: This file is auto-generated from 'scripts/error-docgen.mjs' +# Do not make edits to it directly, they will be overwritten. +# Instead, change this file: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts +# Translators, please remove this note and the component. + +title: Cannot determine weight and style from font file. +i18nReady: true +githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts +--- +import DontEditWarning from '~/components/DontEditWarning.astro' + + + + +> An error occured while determining the weight and style from the local font file. + +## What went wrong? +Cannot determine weight and style from font file. + + +