-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose an Error Handler #608
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be really great if you could expose some event handlers. Specifically I'm interested in an Error Handler (but I can see how LocationChangedHandler might also be useful).
The reason I want to be able to handle errors, is unfortunately sometimes navigating to the URL may trigger an issue and need some sort of corrective behaviour. While this could be wrapped in an ErrorBoundary/component it doesn't feel ideal. Here's an example on how others have dealt with the issue we're hitting with
vue-router
https://stackoverflow.com/a/74861436/21061The text was updated successfully, but these errors were encountered: