summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/core/errors/errors-data.ts26
1 files changed, 14 insertions, 12 deletions
diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts
index 6646faff8..6574a1adc 100644
--- a/packages/astro/src/core/errors/errors-data.ts
+++ b/packages/astro/src/core/errors/errors-data.ts
@@ -1169,6 +1169,20 @@ export const i18nNotEnabled = {
hint: 'See https://docs.astro.build/en/guides/internationalization for a guide on setting up i18n.',
} satisfies ErrorData;
+
+/**
+ * @docs
+ * @description
+ *
+ * Astro couldn't find a route matching the one provided by the user
+ */
+export const RouteNotFound = {
+ name: 'RouteNotFound',
+ title: 'Route not found.',
+ message: `Astro could not find a route that matches the one you requested.`,
+} satisfies ErrorData;
+
+
/**
* @docs
* @kind heading
@@ -1496,18 +1510,6 @@ export const UnsupportedConfigTransformError = {
hint: 'See the devalue library for all supported types: https://github.com/rich-harris/devalue',
} satisfies ErrorData;
-/**
- * @docs
- * @description
- *
- * Astro couldn't find a route matching the one provided by the user
- */
-export const RouteNotFound = {
- name: 'RouteNotFound',
- title: 'Route not found.',
- message: `Astro could not find a route that matches the one you requested.`,
-} satisfies ErrorData;
-
// Generic catch-all - Only use this in extreme cases, like if there was a cosmic ray bit flip.
export const UnknownError = { name: 'UnknownError', title: 'Unknown Error.' } satisfies ErrorData;