pyre.calc.exceptions

Module Contents

exception pyre.calc.exceptions.EvaluationError(error, node=None, **kwds)

Bases: pyre.algebraic.exceptions.NodeError

Base class for node evaluation exceptions

description = evaluation error: {0.error}
exception pyre.calc.exceptions.ExpressionError

Bases: pyre.algebraic.exceptions.NodeError

Base class for expression errors; useful when trapping them as a category

exception pyre.calc.exceptions.EmptyExpressionError(formula, **kwds)

Bases: pyre.calc.exceptions.ExpressionError

Exception raised when the expression factory did not encounter any named references to other nodes

description = while parsing {0.expression!r}: no references found
exception pyre.calc.exceptions.ExpressionSyntaxError(formula, error, **kwds)

Bases: pyre.calc.exceptions.ExpressionError

Exception raised when the python interpreter encounters a syntax error while compiling the expression

description = while evaluating {0.expression!r}: {0.error}
exception pyre.calc.exceptions.UnresolvedNodeError(name, node=None, **kwds)

Bases: pyre.algebraic.exceptions.NodeError

Signal a value request from an unresolved node

description = node {0.name!r} is unresolved
exception pyre.calc.exceptions.AliasingError(key, target, alias, targetNode, targetInfo, aliasNode, aliasInfo, **kwds)

Bases: pyre.algebraic.exceptions.NodeError

Signal that an alias was requested among names that were associated with existing nodes

description = both {0.target!r} and {0.alias!r} have existing nodes