new • Rust AI Agent SDK

new: Create a new error log

new

Method

</div>

This is a method of the ErrorLog class in the display_types module.

Create a new error log

Signature

python
def new(message: impl Into<String>, error_type: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.