InvalidNodeTypeError
- class Communicator.InvalidNodeTypeError()
Error object that is thrown when the user passes a node of the incorrect type to a function.
Constructors
Creates a new InvalidNodeTypeError |
Properties
Constructors
constructor
- Communicator.InvalidNodeTypeError.constructor(nodeId, expectedTreeType, expectedTreeTypes)
Creates a new InvalidNodeTypeError
- Arguments
nodeId (
Communicator.NodeId()
) –expectedTreeType (
TreeNodeType()
) –expectedTreeTypes (
[TreeNodeType]()
) –
- Return type
Communicator.InvalidNodeTypeError