docs(guide): fix links to error utils (#4129)

This commit is contained in:
Sébastien Chopin 2022-04-06 15:55:36 +02:00 committed by GitHub
parent eb22ce9ae2
commit fe8e325541
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ This function will return the global Nuxt error that is being handled.
You can call this function at any point on client-side, or (on server side) directly within middleware, plugins or `setup()` functions. It will trigger a full-screen error page (as above) which you can clear with `clearError`. You can call this function at any point on client-side, or (on server side) directly within middleware, plugins or `setup()` functions. It will trigger a full-screen error page (as above) which you can clear with `clearError`.
::ReadMore{link="/api/composables/throw-error"} ::ReadMore{link="/api/utils/throw-error"}
:: ::
### `clearError` ### `clearError`
@ -95,7 +95,7 @@ You can call this function at any point on client-side, or (on server side) dire
This function will clear the currently handled Nuxt error. It also takes an optional path to redirect to (for example, if you want to navigate to a 'safe' page). This function will clear the currently handled Nuxt error. It also takes an optional path to redirect to (for example, if you want to navigate to a 'safe' page).
::ReadMore{link="/api/composables/clear-error"} ::ReadMore{link="/api/utils/clear-error"}
:: ::
## Rendering errors within your app ## Rendering errors within your app