On Monday 15 April 2019 16:21:30 Tim Bunce wrote:
> On Fri, Apr 12, 2019 at 10:22:57AM +0200,
pa...@cpan.org wrote:
> > On Monday 21 January 2019 16:55:07
pa...@cpan.org wrote:
> > > On Sunday 20 January 2019 17:27:22 Tim Bunce wrote:
> > > >
> > > > Couldn't HandleSetErr be used for this?
> > > >
> > > > Quoting the docs at
https://metacpan.org/pod/DBI#HandleSetErr
> > > >
> > > > HandleSetErr, on the other hand, is called whenever set_err() is
> > > > called with a defined err value, even if false. So it's not just for
> > > > errors, despite the name, but also warn and info states. The set_err()
> > > > method, and thus HandleSetErr, may be called multiple times within a
> > > > method and is usually invoked from deep within driver code.
>
> > Hi Tim! Seems that HandleSetErr cannot be used. It is not called for
> > cases which generates warnings.
>
> Couldn't that be fixed?
I do not know. Code around HandleSetErr seems to be complex.