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