try:
13 / 0
except ZeroDivisionError as e:
raise ValueError("ZeroDivisionError") from e
'''
run:
Traceback (most recent call last):
File "C:/python/filename.python", line 3, in <module>
13 / 0
ZeroDivisionError: division by zero
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C://python/filename.python", line 5, in <module>
raise ValueError("ZeroDivisionError") from e
ValueError: ZeroDivisionError
'''