Skip to main content
Version: Next 🚧

[C] ProjectionError

Represents a failure while interpreting a projection.

Extends

  • Error

Constructors

new ProjectionError()

new ProjectionError(message): ProjectionError

Parameters

ParameterType
messagestring

Returns

ProjectionError

Overrides

Error.constructor

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

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