class / @typed/navigation

NavigationError

Wraps malformed URLs, unknown traversal keys, identifier failures, and backend history failures.

Package version
1.0.0-beta.7
Category
Navigation failures
Since
1.0.0

Import

import { NavigationError } from "@typed/navigation";

Signatures

export declare class NavigationError extends NavigationError_base {
}

Why

Providers normalize platform-specific exceptions into one typed Effect error channel while preserving the original value in error for diagnosis.

Ownership and lifetime

Constructing the error acquires no resources. The Effect performing navigation owns and propagates it; interruption still runs that Effect’s normal finalizers.

Other public imports

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

Source