Message351126
Here is my first pass at this. I propose the following sentence be added at the end section 8.4:
If you need to track related exceptions (exceptions during exception handling), you should use exception chaining. You can chain exceptions by using the ``from`` clause. Just raise a new exception class or instance from an existing exception. The existing exception will be set as
the cause for the new exception. |
|
Date |
User |
Action |
Args |
2019-09-04 13:14:06 | shireenrao | set | recipients:
+ shireenrao, rhettinger, docs@python, Niels Albers |
2019-09-04 13:14:06 | shireenrao | set | messageid: <1567602846.22.0.828145405012.issue37891@roundup.psfhosted.org> |
2019-09-04 13:14:06 | shireenrao | link | issue37891 messages |
2019-09-04 13:14:06 | shireenrao | create | |
|