raise Exception should not be raised (python:S112) example clean code
Example 1: exception pyton print
except Exception as e: print(e)
Example 2: python raise exception
# this raises a "NameError"
>>> raise NameError('HiThere')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: HiThere