Class: ReferenceIdNoMatchException
Extends
- Error
Implements
Constructors
new ReferenceIdNoMatchException()
new ReferenceIdNoMatchException(
entityName,id,message):ReferenceIdNoMatchException
Parameters
| Parameter | Type | Default value | 
|---|---|---|
| entityName | string | undefined | 
| id | string | undefined | 
| message | string | 'No match for %s reference id %s.' | 
Returns
Overrides
Error.constructor
Defined in
Properties
| Property | Modifier | Type | Default value | Description | Inherited from | 
|---|---|---|---|---|---|
| context | public | object | undefined | Additional context | - | 
| context.entityName | public | string | undefined | - | - | 
| context.id | public | string | undefined | - | - | 
| errorCode | public | string | 'REFERENCE_ID_NO_MATCH' | The error code. | - | 
| message | public | string | undefined | - | ExceptionInterface.messageError.message | 
| name | public | string | undefined | - | ExceptionInterface.nameError.name | 
| stack? | public | string | undefined | - | ExceptionInterface.stackError.stack | 
| prepareStackTrace? | static | ( err:Error,stackTraces:CallSite[]) =>any | undefined | Optional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces (opens in a new tab) | Error.prepareStackTrace | 
| stackTraceLimit | static | number | undefined | - | Error.stackTraceLimit | 
Methods
captureStackTrace()
staticcaptureStackTrace(targetObject,constructorOpt?):void
Create .stack property on a target object
Parameters
| Parameter | Type | 
|---|---|
| targetObject | object | 
| constructorOpt? | Function | 
Returns
void
Inherited from
Error.captureStackTrace
Defined in
.tmp/repos/rockets/node_modules/@types/node/globals.d.ts:4