Module pywander.algorithm.tree.exceptions

Classes

class InsertError (*args, **kwargs)

This error is raised when you trying to insert a node in a tree which is already exists.

Expand source code
class InsertError(TreeError):
    """
    This error is raised when you trying to insert a node in a tree
    which is already exists.
    """

Ancestors

  • TreeError
  • builtins.Exception
  • builtins.BaseException
class TreeError (*args, **kwargs)

A base-class for the various kinds of errors that occur in the the tree class.

Expand source code
class TreeError(Exception):
    """
    A base-class for the various kinds of errors that occur in the the tree class.
    """

Ancestors

  • builtins.Exception
  • builtins.BaseException

Subclasses