@vaadin/router
    Preparing search index...

    Interface ResolutionError<T, R, C>

    An error that is thrown when a route resolution fails.

    interface ResolutionError<
        T,
        R extends object = EmptyObject,
        C extends object = EmptyObject,
    > {
        cause?: unknown;
        code?: number;
        context: RouteContext<T, R, C>;
        warn(): void;
    }

    Type Parameters

    • T
    • R extends object = EmptyObject
    • C extends object = EmptyObject

    Hierarchy

    • Error
      • ResolutionError
    Index

    Properties

    Methods

    Properties

    cause?: unknown

    The resolution error cause, possibly an error thrown from the action callback.

    code?: number

    A HTTP status code associated with the error.

    context: RouteContext<T, R, C>

    The context object associated with the route that was not found.

    Methods