Skip to content

Commit

Permalink
docs: missing bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed May 27, 2022
1 parent 082c7b2 commit 48c5616
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/guide/advanced/navigation-guards.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ And can optionally return any of the following values:
return { name: 'Login' }
}
})
```

It's also possible to throw an `Error` if an unexpected situation was met. This will also cancel the navigation and call any callback registered via [`router.onError()`](../../api/#onerror).

Expand Down

0 comments on commit 48c5616

Please sign in to comment.