Log in
Model

Csv

Magento\ImportExport\Model\Report\Csv

What it does

This class generates CSV error reports for failed import operations in Magento 2.

When an import fails, it creates a new CSV file containing all original data plus an additional 'errors' column showing what went wrong for each row.

Developers use this to help merchants identify and fix data issues in their import files.

Public Methods

  • createReport()
  • retrieveErrorMessagesByRowNumber()