Exceptions#

Custom exceptions raised by pyfes.

exception pyfes.ConstituentValidationError#

Bases: ValueError

Raised when an invalid constituent name is used.

exception pyfes.config.InterpolationError#

Bases: Exception

Indicate that an undefined environment variable was referenced.

Raised when interpolation of an environment variable fails because the variable is not set in the environment.

exception pyfes.config.InterpolationDepthError#

Bases: Exception

Signal a self-referential environment variable interpolation.

Raised when an environment variable used during interpolation expands to a value that references itself, causing excessive recursion.