Skip to content

Errors: MetaPropertyConflict

An error thrown when a parent's meta has the same key as a child and the types are not compatible. A child's meta can override properties of the parent, however the types must match!

Extends

  • Error

Constructors

new MetaPropertyConflict()

ts
new MetaPropertyConflict(property?): MetaPropertyConflict

Parameters

ParameterType
property?string

Returns

MetaPropertyConflict

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