type-alias / @typed/router

DependencyError

Extracts the acquisition error of a matcher Layer dependency.

Package version
1.0.0-beta.7
Category
Route services
Since
1.0.0

Import

import type { DependencyError } from "@typed/router";

Signatures

export type DependencyError<D> = D extends Layer.Layer<any, infer E, any> ? E : never;

Why

Layer failures remain visible in the Matcher’s error channel.

Ownership and lifetime

Computed only by TypeScript; any runtime failure occurs while the represented Layer is being prepared.

Other public imports

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

Source