pub trait ErrorHandler: Send + Sync { // Required method fn job_failed(&self, job_id: &JobId, job_name: &str, error: &Error); }