Skip to main content

SkipNonUniqueValueError

Exception indicating a key did not have a unique value.

Some collections are used to associate each key to a unique value. When this expectation is not met (a key is associated to either zero or multiple values), operations such as getUnique throw SkipNonUniqueValueError.

Extends

Methods

captureStackTrace()

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

ParameterType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

SkipError.captureStackTrace

Properties

message

message: string;

Inherited from

SkipError.message


name

name: string;

Inherited from

SkipError.name


stack?

optional stack: string;

Inherited from

SkipError.stack


prepareStackTrace()?

static optional prepareStackTrace: (err, stackTraces) => any;

Optional override for formatting stack traces

Parameters

ParameterType
errError
stackTracesCallSite[]

Returns

any

See

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Inherited from

SkipError.prepareStackTrace


stackTraceLimit

static stackTraceLimit: number;

Inherited from

SkipError.stackTraceLimit