Catch exception with message?
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.