The important Python errors are 1) ArithmeticError, 2) ImportError, and 3) IndexError.

  • ArithmeticError: ArithmeticError act as a base class for all arithmetic exceptions. It is raised for errors in arithmetic operations.
  • ImportError: ImportError is raised when you are trying to import a module which does not present. This kind of exception occurs if you have made a typing mistake in the module name or the module which is not present in the standard path.
  • IndexError: An IndexError is raised when you try to refer a sequence which is out of range.