[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Question about to-be-closed methods
- From: Dibyendu Majumdar <mobile@...>
- Date: Sat, 18 Jul 2020 20:27:17 +0100
On Sat, 18 Jul 2020 at 18:30, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> 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?
Regards