Class ResolutionError<T, R, C>

An error that is thrown when a route resolution fails.

Type Parameters

  • T
  • R extends object = EmptyObject
  • C extends object = EmptyObject

Hierarchy

  • Error
    • ResolutionError

Constructors

Properties

Methods

Constructors

Properties

cause?: unknown

The resolution error cause, possibly an error thrown from the action callback.

code?: number

A HTTP status code associated with the error.

context: RouteContext<T, R, C>

The context object associated with the route that was not found.

Methods