|
|
|
|
|
by ivan_gammel
183 days ago
|
|
This sub-thread in my understanding is about a special case (a non-error mode that client may want to avoid, in which case explicit callback makes sense), not about all possible unexpected errors. I’m not suggesting hooks as the best approach. And of course “on429” is the last thing I would think about when designing this. There are better ways. |
|
I still don’t want to have to provide a 429 callback just to log, though. The library should log by default if the callback isn’t registered.