Skip to main content

failure

Method
This is a method of the GuardrailResult class in the guardrails module.
Create a failed result

Signature

def failure(error: impl Into<String>) -> Self

Parameters

error
impl Into<String>
required
No description available.

Returns

Returns
Self
The result of the operation.