mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
chore: remove unused astro error (#11795)
This commit is contained in:
parent
3691a626fb
commit
b9a585c3fb
1 changed files with 0 additions and 15 deletions
|
@ -1664,21 +1664,6 @@ export const ActionsWithoutServerOutputError = {
|
||||||
hint: 'Learn about on-demand rendering: https://docs.astro.build/en/basics/rendering-modes/#on-demand-rendered',
|
hint: 'Learn about on-demand rendering: https://docs.astro.build/en/basics/rendering-modes/#on-demand-rendered',
|
||||||
} satisfies ErrorData;
|
} satisfies ErrorData;
|
||||||
|
|
||||||
/**
|
|
||||||
* @docs
|
|
||||||
* @see
|
|
||||||
* - [Actions RFC](https://github.com/withastro/roadmap/blob/actions/proposals/0046-actions.md)
|
|
||||||
* @description
|
|
||||||
* Action was called from a form using a GET request, but only POST requests are supported. This often occurs if `method="POST"` is missing on the form.
|
|
||||||
*/
|
|
||||||
export const ActionsUsedWithForGetError = {
|
|
||||||
name: 'ActionsUsedWithForGetError',
|
|
||||||
title: 'An invalid Action query string was passed by a form.',
|
|
||||||
message: (actionName: string) =>
|
|
||||||
`Action ${actionName} was called from a form using a GET request, but only POST requests are supported. This often occurs if \`method="POST"\` is missing on the form.`,
|
|
||||||
hint: 'Actions are experimental. Visit the RFC for usage instructions: https://github.com/withastro/roadmap/blob/actions/proposals/0046-actions.md',
|
|
||||||
} satisfies ErrorData;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @docs
|
* @docs
|
||||||
* @see
|
* @see
|
||||||
|
|
Loading…
Reference in a new issue