Type Alias VaadinRouterErrorEvent<R, C>

VaadinRouterErrorEvent<R, C>: CustomEvent<Readonly<{
    error: ResolutionError<R, C>;
    router: Router<R, C>;
}> & RouteContext<R, C>>

A custom event triggered by an error occurred during route resolution.

Type Parameters

  • R extends object = EmptyObject

    The type of additional route-specific data. Defaults to an empty object.

  • C extends object = EmptyObject

    The type of user-defined context-specific data. Defaults to an empty object.