Skip to main content

Enumeration: ERuleFailure

Defined in: internal/guardrails/types.ts:324

How a rule failed.

Enumeration Members​

THREW​

THREW: "THREW"

Defined in: internal/guardrails/types.ts:330

The rule's check threw or rejected.

Its own code, the service behind it, or its judge (a model call that failed or answered out of shape).


TIMED_OUT​

TIMED_OUT: "TIMED_OUT"

Defined in: internal/guardrails/types.ts:332

The rule gave no answer within its timeout (IInputRule.timeoutMs or IGuardrailsConfig.ruleTimeoutMs).