raise-not-base-exception
raise-not-base-exception
In Python3, a runtime
TypeError
will be thrown if you attempt to raise an object or class which does not inherit from BaseException