oqueeh
.net
All topics
>
Python
Handling multiple exception types in the same `except` block in Python
except (ExceptionType1, ExceptionType2):
Related:
Treating errors in Python
References:
8. Errors and Exceptions — Python 3.12.2 documentation