SelectionInvalidatedError

class 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


Constructors

SelectionInvalidatedError.constructor()

Creates a new SelectionInvalidatedError

Return type:SelectionInvalidatedError

Properties

SelectionInvalidatedError.message
Type:string
SelectionInvalidatedError.name
Type:string
SelectionInvalidatedError.stack
Type:string optional
SelectionInvalidatedError.prepareStackTrace
Type:function optional

Optional override for formatting stack traces

See:https://v8.dev/docs/stack-trace-api#customizing-stack-traces
SelectionInvalidatedError.prepareStackTrace(err, stackTraces)
Arguments:
  • err (Error()) – None
  • stackTraces ([CallSite]()) – None
Return type:

any

SelectionInvalidatedError.stackTraceLimit
Type:number

Methods

static captureStackTrace

SelectionInvalidatedError.captureStackTrace(targetObject[, constructorOpt])
Arguments:
  • targetObject (object()) – None
  • constructorOpt (Function()) – optional None

Create .stack property on a target object

Return type:void