Skip to main content

with_error

Method
This is a method of the HookInput class in the hooks module.
Set error

Signature

def with_error(mut self, error: impl Into<String>) -> Self

Parameters

error
impl Into<String>
required
No description available.

Returns

Returns
Self
The result of the operation.