Skip to main content

on_fail

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

Signature

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

Parameters

action
GuardrailAction
required
No description available.

Returns

Returns
Self
The result of the operation.