Catch exception with message?

Piyush Verma 114piyush at gmail.com
Fri Jun 3 19:14:30 EDT 2016


Generally we catch exception using
except Exception as e:

But sometimes, we see same type of exception is present with different
message.Is there a way to capture same exception with message
filtering? Please help me to do this.

Regards,
~Piyush



More information about the Python-list mailing list