finesse.exceptions.NodeException

Overview

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

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

message : str

The error message.

node : Node, 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.