API Reference
Rockets Core API
typeorm-common
classes
ReferenceMutateException

Class: ReferenceMutateException

Extends

  • Error

Implements

Constructors

new ReferenceMutateException()

new ReferenceMutateException(entityName, originalError, message): ReferenceMutateException

Parameters

ParameterTypeDefault value
entityNamestringundefined
originalErrorunknownundefined
messagestring'Error while trying to mutate a %s reference'

Returns

ReferenceMutateException

Overrides

Error.constructor

Defined in

.tmp/repos/rockets/packages/typeorm-common/src/exceptions/reference-mutate.exception.ts:15 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueDescriptionInherited from
contextpublicobjectundefinedAdditional context-
context.entityNamepublicstringundefined--
context.originalErrorpublicErrorundefined--
errorCodepublicstring'REFERENCE_MUTATE_ERROR'The error code.-
messagepublicstringundefined-ExceptionInterface.message Error.message
namepublicstringundefined-ExceptionInterface.name Error.name
stack?publicstringundefined-ExceptionInterface.stack Error.stack
prepareStackTrace?static(err: Error, stackTraces: CallSite[]) => anyundefinedOptional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces (opens in a new tab)Error.prepareStackTrace
stackTraceLimitstaticnumberundefined-Error.stackTraceLimit

Methods

captureStackTrace()

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

ParameterType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

Error.captureStackTrace

Defined in

.tmp/repos/rockets/node_modules/@types/node/globals.d.ts:4