class BaseExcelError(Exception):

    def __init__(self, message):
        super(BaseExcelError, self).__init__()
        self.message = message


class ValidationError(BaseExcelError):
    pass


class ColumnNotEqualError(BaseExcelError):
    pass


class FieldNotExist(BaseExcelError):
    pass

class BaseExcelError(Exception):

    def __init__(self, message):
        super(BaseExcelError, self).__init__()
        self.message = message


class ValidationError(BaseExcelError):
    pass


class ColumnNotEqualError(BaseExcelError):
    pass


class FieldNotExist(BaseExcelError):
    pass


class SerializerConfigError(BaseExcelError):
    pass

Add error when serializer setup has error
Add error when serializer setup has error

  class BaseExcelError(Exception):
  
      def __init__(self, message):
          super(BaseExcelError, self).__init__()
          self.message = message
  
  
  class ValidationError(BaseExcelError):
      pass
  
  
  class ColumnNotEqualError(BaseExcelError):
      pass
  
  
  class FieldNotExist(BaseExcelError):
      pass
  
+ 
+ class SerializerConfigError(BaseExcelError):
+     pass
+ 
Add error when serializer setup has error
## Code Before:
class BaseExcelError(Exception):

    def __init__(self, message):
        super(BaseExcelError, self).__init__()
        self.message = message


class ValidationError(BaseExcelError):
    pass


class ColumnNotEqualError(BaseExcelError):
    pass


class FieldNotExist(BaseExcelError):
    pass

## Instruction:
Add error when serializer setup has error
## Code After:
class BaseExcelError(Exception):

    def __init__(self, message):
        super(BaseExcelError, self).__init__()
        self.message = message


class ValidationError(BaseExcelError):
    pass


class ColumnNotEqualError(BaseExcelError):
    pass


class FieldNotExist(BaseExcelError):
    pass


class SerializerConfigError(BaseExcelError):
    pass
