pub type HookError = Box<dyn Error + Send + Sync + 'static>;
The error a hook returns. The SDK logs it and goes on without what the hook would have given.
pub struct HookError(/* private fields */);