latent.exceptions¶
Custom exceptions for the Latent framework.
Classes¶
GateFailure¶
A quality gate failed and enforcement is on.
Raised by :func:latent.gates.gating.enforce_gates and by flow-teardown
enforcement. The message lists each failed gate as
metric=actual (threshold=..., strictness, ceiling|floor).
LatentError¶
Base exception for Latent errors.
TaskExecutionError¶
TaskExecutionError(task_name: str, original_error: Exception, context: dict[str, Any] | None = None)
Exception raised when a task execution fails.
Wraps the original exception and adds context about the task execution.