lua-users home
lua-l archive

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

On Sat, 18 Jul 2020 at 18:30, Roberto Ierusalimschy
<> wrote:
> > How would you define idempotence for a function that has failed by
> > raising an error?
> It is Ok to do again whatever it did before the error. (I am sure you
> could have guessed it.)

It doesn't really make sense to me, but I am sure there is a good
reason for it. I was trying to figure out where in the code there is a
retry logic - but it isn't obvious. So it is a side effect of the
error handling I assume?