type-alias / @typed/router/Matcher

GuardError

Extracts a Guard’s typed failure channel.

Package version
1.0.0-beta.7
Category
Candidate guards
Since
1.0.0

Import

import type { GuardError } from "@typed/router/Matcher";

Signatures

export type GuardError<G> = GuardType.Error<G>;

Why

Guard failures remain visible when every candidate is rejected.

Ownership and lifetime

Computed only by TypeScript. Runtime failures belong to the guard Effect and are collected only while evaluating that transition.

Other public imports

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

Source