FieldValidationError#

exception lsst.pex.config.FieldValidationError(field, config, msg)#

Bases: ValueError

Raised when a ~lsst.pex.config.Field is not valid in a particular ~lsst.pex.config.Config.

Parameters#

fieldlsst.pex.config.Field

The field that was not valid.

configlsst.pex.config.Config

The config containing the invalid field.

msgstr

Text describing why the field was not valid.

fieldName#

Name of the Field instance that incurred the error (str).

See also#

lsst.pex.config.Field.name

fieldSource#

File and line number of the Field definition.

fieldType#

Type of the Field that incurred the error.

fullname#

Fully-qualified name of the Field instance (str).

history#

Full history of all changes to the Field instance.