Mohamed Feddad

98%
Flag icon
In Python 3, all exceptions must be derived (directly or indirectly) from BaseException. In practice, you will create your custom exceptions by deriving from the Exception class. As a major improvement in error reporting, if an exception occurs while handling an exception, the entire chain of exceptions is reported:
Django Design Patterns and Best Practices: Industry-standard web development techniques and solutions using Python, 2nd Edition
Rate this book
Clear rating