Exceptions

ImportExportError

class import_export.exceptions.ImportExportError

A generic exception for all others to extend.

FieldError

class import_export.exceptions.FieldError

Raised when a field encounters an error.

ImportError

class import_export.exceptions.ImportError(error, number=None, row=None)

A wrapper for errors thrown from the import process.

Parameters:
  • error – The underlying error that occurred.

  • number – The row number of the row containing the error (if obtainable).

  • row – The row containing the error (if obtainable).