Re: Question about to-be-closed methods
[
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: 2020年7月18日 20:27:17 +0100
 
On 2020年7月18日 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