With Error • Rust AI Agent SDK
with_error: Set error
with_error
Method
</div>
This is a method of the HookInput class in the hooks module.
Set error
Signature
def with_error(mut self, error: impl Into<String>) -> SelfParameters
ParamField
impl Into<String>No description available.
Returns
ResponseField
SelfThe result of the operation.