Is Failure • Rust AI Agent SDK

is_failure: Check if failed

is_failure

Method

</div>

This is a method of the GuardrailResult class in the guardrails module.

Check if failed

Signature

python
def is_failure(&self) -> bool

Returns

ResponseField bool

The result of the operation.