Bill Allombert on Mon, 02 Sep 2013 18:52:46 +0200

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

Re: pari_err(): callback function instead of longjmp()

On Sun, Sep 01, 2013 at 10:22:16AM +0200, Jeroen Demeyer wrote:
> On 2013-09-01 10:17, Bill Allombert wrote:
> >This is already the case, see the documentation of
> >cb_pari_handle_exception().
> I know about that function, but that's a callback *after* printing
> the error message. I am talking about a callback *before*.

With PARI 2.5.4, I would suggest to divert the error message by redefining the
output channel pariErr. 

Setting the callback before printing would mean that it has no information
about the error.