One of the features that makes Python a great programming language is exceptions for error handling. Exceptions are convenient in many ways for handling errors and ...
Exceptions always inherit from Exception. Usually they are empty classes. Use pass for the body. You can also make a hierarchy of your exceptions. It is often good practice for libraries to define ...
good to use if youre using a large file/api and you're notiving some issues, this will test/try it, and using the except so the code can continue working ideally, dont use 'exception' as an exception ...