Skip to content

Commit 7f596cf

Browse files
[docs] move location of an Actions error (#13368)
Co-authored-by: ArmandPhilippot <[email protected]>
1 parent afc59bb commit 7f596cf

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

packages/astro/src/core/errors/errors-data.ts

+12-12
Original file line numberDiff line numberDiff line change
@@ -901,18 +901,6 @@ export const MiddlewareCantBeLoaded = {
901901
message: 'An unknown error was thrown while loading your middleware.',
902902
} satisfies ErrorData;
903903

904-
/**
905-
* @docs
906-
* @description
907-
* Thrown in development mode when the actions file can't be loaded.
908-
*
909-
*/
910-
export const ActionsCantBeLoaded = {
911-
name: 'ActionsCantBeLoaded',
912-
title: "Can't load the Astro actions.",
913-
message: 'An unknown error was thrown while loading the Astro actions file.',
914-
} satisfies ErrorData;
915-
916904
/**
917905
* @docs
918906
* @see
@@ -1818,6 +1806,18 @@ export const ActionCalledFromServerError = {
18181806
// Generic catch-all - Only use this in extreme cases, like if there was a cosmic ray bit flip.
18191807
export const UnknownError = { name: 'UnknownError', title: 'Unknown Error.' } satisfies ErrorData;
18201808

1809+
/**
1810+
* @docs
1811+
* @description
1812+
* Thrown in development mode when the actions file can't be loaded.
1813+
*
1814+
*/
1815+
export const ActionsCantBeLoaded = {
1816+
name: 'ActionsCantBeLoaded',
1817+
title: "Can't load the Astro actions.",
1818+
message: 'An unknown error was thrown while loading the Astro actions file.',
1819+
} satisfies ErrorData;
1820+
18211821
/**
18221822
* @docs
18231823
* @kind heading

0 commit comments

Comments
 (0)