Skip to content

Class: ReactiveDatabaseNoSuchModelException

Throw by ReactiveDatabase when a non-existent model is requested.

Extends

Constructors

Constructor

ts
new ReactiveDatabaseNoSuchModelException(model: string | number | symbol): ReactiveDatabaseNoSuchModelException;

Parameters

ParameterType
modelstring | number | symbol

Returns

ReactiveDatabaseNoSuchModelException

Overrides

ReActiveRecordError.constructor

Properties

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

Methods

captureStackTrace()

ts
static captureStackTrace(targetObject: object, constructorOpt?: Function): void;

Create .stack property on a target object

Parameters

ParameterType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

ReActiveRecordError.captureStackTrace