finesse.exceptions.NodeException

Overview

class finesse.exceptions.NodeException(message, node=None)[source]

Bases: FinesseException

Exception associated with Node related run-time errors.

Objects of type NodeException store the error message as well as an optional reference to the node(s) which caused the exception to be raised.

Parameters
messagestr

The error message.

nodeNode, optional

A reference to the offending node(s), defaults to None. This can be a single node or a sequence of nodes.

Properties

NodeException.node

The node(s) responsible for raising this exception instance.