SelectionInvalidatedError

class wv.SelectionInvalidatedError()

Error object that is thrown when an asynchronous selection error occurs. If this error is thrown when beginning a selection, that operation failed to start. If this error is thrown when advancing a selection, the handle is no longer valid. In this case the operation has already completed.

Constructors

wv.SelectionInvalidatedError.constructor()
SelectionInvalidatedError(): SelectionInvalidatedError

Creates a new SelectionInvalidatedError

Returns: SelectionInvalidatedError

Properties

wv.SelectionInvalidatedError.stackTraceLimit

static inherited

stackTraceLimit: number
wv.SelectionInvalidatedError.prepareStackTrace

static optional inherited

prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

wv.SelectionInvalidatedError.message

inherited

message: string
wv.SelectionInvalidatedError.name

inherited

name: string
wv.SelectionInvalidatedError.stack

optional inherited

stack: string

Methods

static wv.SelectionInvalidatedError.captureStackTrace()

static inherited

captureStackTrace(targetObject: object, constructorOpt: Function): void

Create .stack property on a target object

Parameters

targetObject: object

constructorOpt: Function

Returns: void