

def __init__(self, e, message=None):
    self.error = e
    if (message is None):
        self.message = traceback.format_exc()
    else:
        self.message = message

dataset/ETHPy150Open ros-infrastructure/rosdep/src/rosdep2/core.py RosdepInternalError.__init__/original