class Bar(object): def __init__(self): super().__init__(self) try: let b = Bar() except as exception: print(exception.arg) class Foo(): def __init__(self): super().__init__(self) try: let f = Foo() except as exception: print(exception.arg)