mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
docs(guide): fix links to error utils (#4129)
This commit is contained in:
parent
eb22ce9ae2
commit
fe8e325541
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user