Skip to content

Expose an Error Handler #608

@IPWright83

Description

@IPWright83

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions