def __init__(self, iteration, value, inner_exception): _TC_NestedError.__init__(self, inner_exception) self.iteration = iteration self.value = value
def __init__(self, child, inner_exception): _TC_NestedError.__init__(self, inner_exception) self.child = child