perago.GuardrailViolation#
- exception perago.GuardrailViolation[源代码]#
Raised when a workspace guardrail check fails.
This is the common base class for pre- and post-task workspace check failures. The runtime maps subclasses by phase so pre-check failures become terminal Conductor failures while post-check failures remain ordinary failed attempts.
参见
PreGuardrailViolationRaised for failed pre-task workspace checks.
PostGuardrailViolationRaised for failed post-task workspace checks.
check_guardrailsEvaluate workspace checks against a local workspace.
Examples
>>> GuardrailViolation("required file is missing") GuardrailViolation('required file is missing')