Python Built-In Exceptions
Python Built-In Exceptions
The table below shows built-in exceptions that are usually raised in Python:
Exception Description
EOFError Raised when the input() method hits an "end of file" condition (EOF)
NotImplementedError Raised when an abstract method requires an inherited class to override the
method
RuntimeError Raised when an error occurs that do not belong to any specific expections
StopIteration Raised when the next() method of an iterator has no further values