mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +00:00
3ec108493d
* docs: simplify docs to only markdown * Create nuxt-config.md * chore: update * chore: add readme
297 B
297 B
useError
This function will return the global Nuxt error that is being handled.
const error = useError()
useError
sets an error in the state and creates a reactive and SSR-friendly global Nuxt error across components.
::ReadMore{link="/docs/getting-started/error-handling"} ::