https://tutorial.eyehunts.com/python/python-traceback-object/
Python traceback object