git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Catch exception with message?


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