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

Constructor

ts
new MetaPropertyConflict(property?): MetaPropertyConflict;

Parameters

ParameterType
property?string

Returns

MetaPropertyConflict

Overrides

ts
Error.constructor

Methods

isError()

ts
static isError(error): error is Error;

Indicates whether the argument provided is a built-in Error instance or not.

Parameters

ParameterType
errorunknown

Returns

error is Error

Inherited from

ts
Error.isError

Properties

PropertyTypeInherited from
cause?unknownError.cause
messagestringError.message
namestringError.name
stack?stringError.stack