Skip to main content

on_error

Method
This is a method of the HookRunner class in the hooks module.
Run on-error hooks

Signature

def on_error(&self, session_id: &str, error: &str) -> Result<HookResult>

Parameters

session_id
&str
required
No description available.
error
&str
required
No description available.

Returns

Returns
Result<HookResult>
The result of the operation.