exlab_wizard.errors#

Top-level exception hierarchy. Backend Spec §4.3 errors.py.

Exceptions

ConfigError

Raised on config.yaml validation failures.

ExLabError

Base class for all ExLab-Wizard exceptions.

KeyringUnavailableError

Raised when no OS keyring backend is reachable and fallback is exhausted.

PluginError

Raised by plugin workers to signal expected failure.

PluginInputRequired(fields, reason)

Raised by plugin workers to escalate for additional input.

SchemaMajorMismatchError(expected_major, found)

Raised when a cache file's schema major version exceeds reader support.

SetupIncompleteError

Raised when a creation gate runs while setup state is INCOMPLETE_*.

TemplateCoreFieldRedeclaredError

Raised when a template redeclares label / operator / objective.

TemplateLoadError

Raised when a Copier template fails to load.

ValidationError

Raised by the validator engine on creation-time gates.

exception exlab_wizard.errors.ConfigError[source]#

Bases: ExLabError

Raised on config.yaml validation failures. Backend Spec §9.

exception exlab_wizard.errors.ExLabError[source]#

Bases: Exception

Base class for all ExLab-Wizard exceptions.

exception exlab_wizard.errors.KeyringUnavailableError[source]#

Bases: ExLabError

Raised when no OS keyring backend is reachable and fallback is exhausted. Backend Spec §7.4.4.

exception exlab_wizard.errors.PluginError[source]#

Bases: ExLabError

Raised by plugin workers to signal expected failure. Backend Spec §6.

exception exlab_wizard.errors.PluginInputRequired(fields, reason)[source]#

Bases: ExLabError

Raised by plugin workers to escalate for additional input. Backend Spec §6.4.

Parameters:
property reason: str#
exception exlab_wizard.errors.SchemaMajorMismatchError(expected_major, found)[source]#

Bases: ExLabError

Raised when a cache file’s schema major version exceeds reader support. Backend Spec §11.9.2.

Parameters:
  • expected_major (int)

  • found (str)

exception exlab_wizard.errors.SetupIncompleteError[source]#

Bases: ExLabError

Raised when a creation gate runs while setup state is INCOMPLETE_*. Backend Spec §4.9.

exception exlab_wizard.errors.TemplateCoreFieldRedeclaredError[source]#

Bases: TemplateLoadError

Raised when a template redeclares label / operator / objective. Backend Spec §10.3.

exception exlab_wizard.errors.TemplateLoadError[source]#

Bases: ExLabError

Raised when a Copier template fails to load. Backend Spec §5.

exception exlab_wizard.errors.ValidationError[source]#

Bases: ExLabError

Raised by the validator engine on creation-time gates. Backend Spec §8.1.