Skip to main content

on_failure

Method
This is a method of the GuardrailConfig class in the guardrails module.
Set failure action

Signature

def on_failure(mut self, action: GuardrailAction) -> Self

Parameters

action
GuardrailAction
required
No description available.

Returns

Returns
Self
The result of the operation.