Catch exception with message?
ian.g.kelly at gmail.com
Fri Jun 3 20:25:18 EDT 2016
except Exception as e:
if e.args == message_of_interest:
On Fri, Jun 3, 2016 at 5:14 PM, Piyush Verma <114piyush at gmail.com> wrote:
> 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.
More information about the Python-list