pub fn insert_scan_errors_tx( tx: &Transaction<'_>, path: &str, errors: &[ParseError], ) -> Result<()>