https://tutorial.eyehunts.com/python/python-print-exception-type/
Python print exception type