MCPcopy Create free account
hub / github.com/Emmimal/control-layer / FailureMode

Class FailureMode

control_layer.py:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75# =============================================================================
76
77class FailureMode(str, Enum):
78 NONE = "none"
79 SCHEMA_VIOLATION = "schema_violation"
80 CONSTRAINT_VIOLATION = "constraint_violation"
81 PROMPT_INJECTION = "prompt_injection"
82 TOKEN_OVERFLOW = "token_overflow"
83 HALLUCINATION = "hallucination"
84 TIMEOUT = "timeout"
85 CIRCUIT_OPEN = "circuit_open"
86
87
88class RetryStrategy(str, Enum):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected