4 ms·
I’ve been doing this for a long time, except I just write basically a memoize function that I slap onto any old function. It’s not a real error handling soluti
by treflop 3y ago
I’ve been doing this for a long time, except I just write basically a memoize function that I slap onto any old function.
It’s not a real error handling solution. I only use it for my quick and dirty projects.
Many errors are recoverable but the ones that are not fuck up
this scheme because a human needed to have written a proper error recovery scheme that isn’t just “retry over and over from a previous point.”
At the end of the day, you gotta put in manual work for error handling. You can’t rely on your language or any library to create a generic error handler.