Log Error • Rust AI Agent SDK

log_error: Log an error (convenience function)

log_error

Function

</div>

This function is defined in the display_types module.

Log an error (convenience function)

Signature

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

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField ()

The result of the operation.

Uses

  • add_error_log

Source

View on GitHub

praisonai/src/parity/display_types.rs at line 83


Related Documentation