Tipo de exección de impresión de Python
try:
# some code
except Exception as e:
print(type(e).__name__)
CBT fan club
try:
# some code
except Exception as e:
print(type(e).__name__)