fail • Rust AI Agent SDK
fail: Create a failing result with a message
fail
Method
</div>
This is a method of the GuardrailResult class in the config module.
Create a failing result with a message
Signature
def fail(message: impl Into<String>) -> SelfParameters
ParamField
impl Into<String>No description available.
Returns
ResponseField
SelfThe result of the operation.