pub fn attachment_gate_error( gate: AttachmentGate, mime_type: &str, model: &ModelKey, family: AdaptorId, ) -> Option<String>