uniac.LoadError
Extends RuntimeError. Raised by load when:
spec_clsis not a class, or not aNodeSpecsubclass.- An
__init__parameter has no env var and no default. - An init parameter’s annotated type is unsupported (anything other than
str | int | float | bool). - Env-var coercion fails (e.g.,
"abc"for anintparameter).
uniac.reader.spec.UniacValidationError
Extends Exception. Raised by NodeSpec._uniac_validate() (see NodeSpec) when an annotated Node slot is unset or holds the wrong type.
Both are raised during load() and signal wiring or configuration bugs that should fail loudly at startup rather than at first request.
