I have seen quite a few examples where a custom exception is defined in these two ways:
class E1(Exception): pass clas