An Error "indicates serious problems that a reasonable application should not try to catch."
while
An Exception "indicates conditions that a reasonable application might want to catch."
Error alongside RuntimeException and their subclasses are unchecked exceptions. Any remaining Exception classes are checked exceptions.
For information about Error and Exceptions, Click on this link.
Interested to learn the concepts of Python in detail? Come and join the python course to gain more knowledge in Python