Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
uyamazak committed Sep 22, 2022
1 parent daf99c3 commit ae2b537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/1.getting-started/8.error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const handleError = () => clearError({ redirect: '/' })

### `useError`

* `function useError (): Ref<any>`
* `function useError (): Ref<Error | { url, statusCode, statusMessage, message, description, data }>`

This function will return the global Nuxt error that is being handled.

Expand Down

0 comments on commit ae2b537

Please sign in to comment.