def __init__(self, msg):
        if sys.exc_info()[2] != None:
            msg += traceback.format_tb(sys.exc_info()[2])[0]
        self.tb = msg
override init
dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/suitability/toolboxes/scripts/NAMDownload.py/NAMDownloadException.__init__