web3.py/web3/utils/exception_py3.py
2016-12-28 16:04:40 -07:00

3 lines
91 B
Python

def raise_from(my_exception, other_exception):
raise my_exception from other_exception