[importer] Set error code in DataImport as reported by the importer's results data structure