InvalidIndexError
- class InvalidIndexError()
Error object that is thrown when a user supplies an invalid user data index.
Constructors
Properties
Methods
Constructors
- InvalidIndexError.constructor(index)
- Arguments
index (
string | number()
) – None
Creates a new InvalidIndexError
- Return type
InvalidIndexError
Properties
- InvalidIndexError.message
- Type
string
- InvalidIndexError.name
- Type
string
- InvalidIndexError.stack
- Type
string optional
- InvalidIndexError.prepareStackTrace
- Type
function optional
Optional override for formatting stack traces
- InvalidIndexError.prepareStackTrace(err, stackTraces)
- Arguments
err (
Error()
) – NonestackTraces (
[CallSite]()
) – None
- Return type
any
- InvalidIndexError.stackTraceLimit
- Type
number
Methods
static captureStackTrace
- InvalidIndexError.captureStackTrace(targetObject[, constructorOpt])
- Arguments
targetObject (
object()
) – NoneconstructorOpt (
Function()
) – optional None
Create .stack property on a target object
- Return type
void