# RedirectError

Signals that a pre-navigation handler wants to replace the pending destination.

## Signatures

```ts
export declare class RedirectError extends RedirectError_base {
}
```

## Why

Redirect is modeled as typed control flow so it composes through Effect causes without committing
the rejected destination. The navigation core follows redirects as replacements and rejects
cycles after ten hops with {@link NavigationError}.

## Ownership and lifetime

Constructing the error acquires no resources. The active navigation Effect consumes it and owns
the redirected transition.
