pub fn error_payload( message: &str, module: &str, source: Option<&str>, payload: impl Serialize, timestamp: bool, )