InvalidNodeTypeError

class Communicator.InvalidNodeTypeError()

Error object that is thrown when the user passes a node of the incorrect type to a function.

Constructors


Constructors

constructor

Communicator.InvalidNodeTypeError.constructor(nodeId, expectedTreeType, expectedTreeTypes)

Creates a new InvalidNodeTypeError

Arguments
  • nodeId (Communicator.NodeId()) –

  • expectedTreeType (TreeNodeType()) –

  • expectedTreeTypes ([TreeNodeType]()) –

Return type

Communicator.InvalidNodeTypeError

Properties

Communicator.InvalidNodeTypeError.expectedTypes
Communicator.InvalidNodeTypeError.message
Communicator.InvalidNodeTypeError.name
Communicator.InvalidNodeTypeError.nodeId
Communicator.InvalidNodeTypeError.stack