Skip to content

Class: InvalidReactiveDatabaseOptionsError

Throw by ReactiveDatabase when the options provided to the ReactiveDatabase are invalid.

Extends

Constructors

Constructor

ts
new InvalidReactiveDatabaseOptionsError(reason: ValidationError): InvalidReactiveDatabaseOptionsError;

Parameters

ParameterType
reasonValidationError

Returns

InvalidReactiveDatabaseOptionsError

Overrides

ts
ReActiveRecordValidationError.constructor;

Properties

PropertyModifierTypeDescriptionInherited from
cause?publicunknown-ReActiveRecordValidationError.cause
stack?publicstring-ReActiveRecordValidationError.stack
prepareStackTrace?static(err: Error, stackTraces: CallSite[]) => anyOptional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-tracesReActiveRecordValidationError.prepareStackTrace
stackTraceLimitstaticnumber-ReActiveRecordValidationError.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

ReActiveRecordValidationError.captureStackTrace