[DGD] Error handling, possible bug
Felix A. Croes
felix at dworkin.nl
Mon Apr 3 18:16:22 CEST 2017
Raymond Jennings <shentino at gmail.com> wrote:
> Hey um...is it normal for atomic_error to be bypassed if an error
> within atomic context is caught?
It is normal if the catch is done within the same atomic error context,
since in that case there is no rollback.
> I was playing around with the "return a string from an error handler"
> feature and noticed that atomic_error got skipped if the error in
> question happens to be caught.
>
> Also, is there supposed to be any functional difference between
> catch(expression) and catch{statements}:{morestatement} in terms of
> calls to driver->foobar_error(...)?
There is no difference there.
Regards,
Felix Croes
More information about the DGD
mailing list