Error Template • Rust AI Agent SDK

error_template: Set error template

error_template

Method

</div>

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

Set error template

Signature

python
def error_template(mut self, template: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation