Class: InvalidIndexError
Defined in: src/selection.ts:252
Error thrown when passing a non-index value where an index value is expected
Extends
Error
Constructors
Constructor
new InvalidIndexError(
name):InvalidIndexError
Defined in: src/selection.ts:253
Parameters
name
string
Returns
InvalidIndexError
Overrides
Error.constructor
Properties
message
message:
string
Defined in: website/node_modules/typescript/lib/lib.es5.d.ts:1055
Inherited from
Error.message
name
name:
string
Defined in: website/node_modules/typescript/lib/lib.es5.d.ts:1054
Inherited from
Error.name
stack?
optionalstack:string
Defined in: website/node_modules/typescript/lib/lib.es5.d.ts:1056
Inherited from
Error.stack
prepareStackTrace()?
staticoptionalprepareStackTrace: (err,stackTraces) =>any
Defined in: node_modules/@types/node/globals.d.ts:11
Optional override for formatting stack traces
Parameters
err
Error
stackTraces
CallSite[]
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
Error.prepareStackTrace
stackTraceLimit
staticstackTraceLimit:number
Defined in: node_modules/@types/node/globals.d.ts:13
Inherited from
Error.stackTraceLimit
Methods
captureStackTrace()
staticcaptureStackTrace(targetObject,constructorOpt?):void
Defined in: node_modules/@types/node/globals.d.ts:4
Create .stack property on a target object
Parameters
targetObject
object
constructorOpt?
Function
Returns
void
Inherited from
Error.captureStackTrace