diff --git a/docs/components/atoms/StabilityEdge.vue b/docs/components/atoms/StabilityEdge.vue index 2dc692fd24..7b22cd8d38 100644 --- a/docs/components/atoms/StabilityEdge.vue +++ b/docs/components/atoms/StabilityEdge.vue @@ -1,8 +1,10 @@ diff --git a/docs/content/2.guide/2.features/7.error-handling.md b/docs/content/2.guide/2.features/7.error-handling.md index c514237ffd..144b663d63 100644 --- a/docs/content/2.guide/2.features/7.error-handling.md +++ b/docs/content/2.guide/2.features/7.error-handling.md @@ -93,6 +93,10 @@ If you throw an error created with `createError`: ### Example +::StabilityEdge{title="Auto import of createError"} +In the current version, add `import { createError } from 'h3'` in order to use `createError`. +:: + ```vue [pages/movies/[slug].vue]