Skip to content

Commit 6869f16

Browse files
Update doc/data/messages/r/raise-missing-from/details.rst
1 parent a882841 commit 6869f16

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
You are raising the %s exception after the %s exception was caught.
1+
You are raising a new exception after an old exception was caught.
2+
23
It's likely that the second exception is a friendly re-wrapping of the first exception,
3-
therefore you should use ``raise new_exception from old_exception`` to see an accurate message
4+
therefore you should use ``raise NewException(...) from old_exception`` to see an accurate message
45
between the two tracebacks.

0 commit comments

Comments
 (0)