class / @typed/router/Matcher

RouteDecodeError

Reports route registration or parameter/query decoding failure.

Package version
1.0.0-beta.7
Category
Selection errors
Since
1.0.0

Import

import { RouteDecodeError } from "@typed/router/Matcher";

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

Signatures

export declare class RouteDecodeError extends RouteDecodeError_base {
}

Why

Invalid regex, schema input, and unsupported matcher paths remain typed and retain the affected path.

Ownership and lifetime

Registration or execution allocates this immutable error with the affected path and formatted cause. It owns no Schema service or route Scope.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source