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
Properties
Methods
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
- SelectionInvalidatedError.prepareStackTrace(err, stackTraces)
- Arguments
err (
Error()
) – NonestackTraces (
[CallSite]()
) – None
- Return type
any
- SelectionInvalidatedError.stackTraceLimit
- Type
number
Methods
static captureStackTrace
- SelectionInvalidatedError.captureStackTrace(targetObject[, constructorOpt])
- Arguments
targetObject (
object()
) – NoneconstructorOpt (
Function()
) – optional None
Create .stack property on a target object
- Return type
void