Skip to content

Errors

sakshi.errors

Sakshi error hierarchy.

Every Sakshi-raised exception inherits from SakshiError so callers can catch the package's surface with one except clause.

SakshiError

Bases: Exception

Base class for all Sakshi-raised exceptions.

GoalValidationError

Bases: SakshiError

A goal failed validation against the current world state or schema.

PlanSoundnessError

Bases: SakshiError

A plan failed soundness verification before execution.

AnomalyEscalationError

Bases: SakshiError

An anomaly persisted beyond the configured escalation threshold.

PhaseTransitionError

Bases: SakshiError

A cognitive cycle phase transition was attempted in an invalid state.

WorldStateUnavailableError

Bases: SakshiError

The configured GoalStateStore could not return a world-state snapshot.