InvalidNodeTypeError
-
class
wv.InvalidNodeTypeError() Error object that is thrown when the user passes a node of the incorrect type to a function.
Constructors
-
wv.InvalidNodeTypeError.constructor() - InvalidNodeTypeError(nodeId: number, expectedTreeType: TreeNodeType, expectedTreeTypes: TreeNodeType[]):
InvalidNodeTypeErrorCreates a new InvalidNodeTypeError
Parameters
nodeId: number
expectedTreeType: TreeNodeType
expectedTreeTypes: TreeNodeType[]
Returns:
InvalidNodeTypeError
Properties
-
wv.InvalidNodeTypeError.stackTraceLimit static inherited
stackTraceLimit: number
-
wv.InvalidNodeTypeError.prepareStackTrace static optional inherited
prepareStackTrace: (err: Error, stackTraces: CallSite[]) => anyOptional override for formatting stack traces
-
wv.InvalidNodeTypeError.message inherited
message: string
-
wv.InvalidNodeTypeError.name inherited
name: string
-
wv.InvalidNodeTypeError.nodeId readonly
nodeId: number
-
wv.InvalidNodeTypeError.stack optional inherited
stack: string
Methods
-
static wv.InvalidNodeTypeError.captureStackTrace() static inherited
captureStackTrace(targetObject: object, constructorOpt: Function): voidCreate .stack property on a target object
Parameters
targetObject: object
constructorOpt: Function
Returns: void