{{ message }}
Commit 49d685b
Update exceptions.rst (yasoob#183)
It is always better to catch exception and raise it with a detailed information, difference between just raising and raising caught exception.
With rising e:
.. code:: python
Traceback (most recent call last):
File "<stdin>", line 5, in <module>
File "<stdin>", line 2, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'test'
Just rising:
.. code:: python
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'test'1 parent 6d47c66 commit 49d685b
1 file changed
Lines changed: 2 additions & 2 deletions

0 commit comments