summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Swithinbank <swithinbank@gmail.com> 2023-06-12 11:48:53 +0200
committerGravatar GitHub <noreply@github.com> 2023-06-12 11:48:53 +0200
commit0325bf7e0feae3531f38d3659b9175750d0f228e (patch)
treec50a1ac958efde56c9e611442fa8d4d6c6b973c6
parent42baf62e7ca0351a2f2c7d06ec58086f90519bb7 (diff)
downloadastro-0325bf7e0feae3531f38d3659b9175750d0f228e.tar.gz
astro-0325bf7e0feae3531f38d3659b9175750d0f228e.tar.zst
astro-0325bf7e0feae3531f38d3659b9175750d0f228e.zip
Add `@message` to `DuplicateContentEntrySlugError` (#7369)
Diffstat (limited to '')
-rw-r--r--packages/astro/src/core/errors/errors-data.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts
index 54dd32fba..8139c0fcd 100644
--- a/packages/astro/src/core/errors/errors-data.ts
+++ b/packages/astro/src/core/errors/errors-data.ts
@@ -1114,6 +1114,7 @@ See https://docs.astro.build/en/guides/server-side-rendering/ for more informati
},
/**
* @docs
+ * @message `COLLECTION_NAME` contains multiple entries with the same slug: `SLUG`. Slugs must be unique.
* @description
* Content collection entries must have unique slugs. Duplicates are often caused by the `slug` frontmatter property.
*/