designspace.ParamError#

class designspace.ParamError(param: str, reason: str, value: Any | None)#

Bases: object

One parameter’s value rejected during validation.

About the value itself: wrong type, out of domain, present while inactive, absent while active. A configuration whose parameters are all individually fine may still be infeasible; that shows up in ValidationResult.constraint_evals, not here.

param#

The offending parameter’s path.

Type:

str

reason#

A short machine-readable tag, such as “out_of_bounds”.

Type:

str

value#

The rejected value, or None when the problem is its absence.

Type:

Any | None