Skip to content

Export NavigationDuplicated class #3039

Closed
@LEW21

Description

@LEW21

What problem does this feature solve?

I want to do:

try {
	await router.push(...)
} catch (e) {
	if (e instanceof NavigationDuplicated) {}
	else {throw e}
}

Unfortunately I can't, because NavigationDuplicated is not exported.

What does the proposed API look like?

export NavigationDuplicated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions