Can I get exception type in python dynamincally when it is generated in code itself? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can I get exception type in python dynamincally when it is generated in code itself?

try {...} catch(Exception e) { //print e in log and/or handle it according to its type. }

18th Mar 2017, 8:58 AM
Gazal
0 Answers