Different Types of Errors in Error Handling

Which are the different types of errors which we can use in except block ? (like ValueError or ZeroDivisionError). Where can we get the list of error types?

Hi @mrinalroy1975,
There are a number of built-in exceptions in Python that you can use, besides that you can also create one of your own custom exceptions.

1 Like