pub async fn notify_command_failure( command: &str, error: &str, exit_code: Option<i32>, ) -> Result<(), Error>
Convenience function to send a command failure notification