0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

chore: fix links in session errors (#12787)

This commit is contained in:
Matt Kane 2024-12-19 12:28:36 +00:00 committed by GitHub
parent 3f557b2e32
commit 73b6c8b1b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -871,7 +871,7 @@ export const AstroResponseHeadersReassigned = {
/**
* @docs
* @see
* - [experimental.session](https://5-0-0-beta.docs.astro.build/en/reference/configuration-reference/#experimentalsession)
* - [experimental.session](https://docs.astro.build/en/reference/experimental-flags/sessions/)
* @description
* Thrown when the session storage could not be initialized.
*/
@ -880,13 +880,13 @@ export const SessionStorageInitError = {
title: 'Session storage could not be initialized.',
message: (error: string, driver?: string) =>
`Error when initializing session storage${driver ? ` with driver ${driver}` : ''}. ${error ?? ''}`,
hint: 'For more information, see https://5-0-0-beta.docs.astro.build/en/reference/configuration-reference/#experimentalsession',
hint: 'For more information, see https://docs.astro.build/en/reference/experimental-flags/sessions/',
} satisfies ErrorData;
/**
* @docs
* @see
* - [experimental.session](https://5-0-0-beta.docs.astro.build/en/reference/configuration-reference/#experimentalsession)
* - [experimental.session](https://docs.astro.build/en/reference/experimental-flags/sessions/)
* @description
* Thrown when the session data could not be saved.
*/
@ -895,7 +895,7 @@ export const SessionStorageSaveError = {
title: 'Session data could not be saved.',
message: (error: string, driver?: string) =>
`Error when saving session data${driver ? ` with driver ${driver}` : ''}. ${error ?? ''}`,
hint: 'For more information, see https://5-0-0-beta.docs.astro.build/en/reference/configuration-reference/#experimentalsession',
hint: 'For more information, see https://docs.astro.build/en/reference/experimental-flags/sessions/',
} satisfies ErrorData;
/**