Skip to content

Errors: RouterNotInstalledError

An error thrown when an attempt is made to use routing functionality before the router has been installed.

Extends

  • Error

Constructors

new RouterNotInstalledError()

ts
new RouterNotInstalledError(): RouterNotInstalledError

Returns

RouterNotInstalledError

Overrides

Error.constructor

Methods

captureStackTrace()

ts
static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

ParameterType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

Error.captureStackTrace

Properties

PropertyModifierTypeDescriptionInherited from
cause?publicunknown-Error.cause
messagepublicstring-Error.message
namepublicstring-Error.name
stack?publicstring-Error.stack
prepareStackTrace?static(err: Error, stackTraces: CallSite[]) => anyOptional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-tracesError.prepareStackTrace
stackTraceLimitstaticnumber-Error.stackTraceLimit