Skip to content
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

Open
IPWright83 opened this issue Jan 23, 2023 · 0 comments
Open

Expose an Error Handler #608

IPWright83 opened this issue Jan 23, 2023 · 0 comments

Comments

@IPWright83
Copy link

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/21061

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant