Skip to content

Commit

Permalink
ci: update error reference docs (#8999)
Browse files Browse the repository at this point in the history
Co-authored-by: sarah11918 <sarah11918@users.noreply.github.com>
  • Loading branch information
astrobot-houston and sarah11918 authored Aug 2, 2024
1 parent 82b7283 commit 8cbc423
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/content/docs/en/reference/error-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ The following reference is a complete list of the errors you may encounter while
- [**ContentCollectionTypeMismatchError**](/en/reference/errors/content-collection-type-mismatch-error/)<br/>Collection contains entries of a different type.
- [**DataCollectionEntryParseError**](/en/reference/errors/data-collection-entry-parse-error/)<br/>Data collection entry failed to parse.
- [**DuplicateContentEntrySlugError**](/en/reference/errors/duplicate-content-entry-slug-error/)<br/>Duplicate content entry slug.
- [**UnsupportedConfigTransformError**](/en/reference/errors/unsupported-config-transform-error/)<br/>Unsupported transform in content config.

## Action Errors

- [**ActionsWithoutServerOutputError**](/en/reference/errors/actions-without-server-output-error/)<br/>Actions must be used with server output.
- [**ActionsUsedWithForGetError**](/en/reference/errors/actions-used-with-for-get-error/)<br/>An invalid Action query string was passed by a form.
- [**ActionQueryStringInvalidError**](/en/reference/errors/action-query-string-invalid-error/)<br/>An invalid Action query string was passed by a form.
- [**UnsupportedConfigTransformError**](/en/reference/errors/unsupported-config-transform-error/)<br/>Unsupported transform in content config.
- [**ActionCalledFromServerError**](/en/reference/errors/action-called-from-server-error/)<br/>Action unexpected called from the server.
Original file line number Diff line number Diff line change
@@ -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 <DontEditWarning/> component.

title: Action unexpected called from the server.
i18nReady: true
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
---
import DontEditWarning from '~/components/DontEditWarning.astro'

<DontEditWarning />


> **ActionCalledFromServerError**: Action called from a server page or endpoint without using `Astro.callAction()`.
## What went wrong?
Action called from a server page or endpoint without using `Astro.callAction()`.



0 comments on commit 8cbc423

Please sign in to comment.