Mac@programming.dev to Python@programming.dev · 10 months agoPython errors as valueswww.inngest.comexternal-linkmessage-square15fedilinkarrow-up141arrow-down15
arrow-up136arrow-down1external-linkPython errors as valueswww.inngest.comMac@programming.dev to Python@programming.dev · 10 months agomessage-square15fedilink
minus-squareCodeMonkey@programming.devlinkfedilinkarrow-up3arrow-down1·10 months agoThey forgot the Erlang approach: throw exceptions but never catch them. If you are throwing an exception either your code is wrong or your system is bad. In either case, you should crash violently and let another instance handle the retry.
They forgot the Erlang approach: throw exceptions but never catch them. If you are throwing an exception either your code is wrong or your system is bad. In either case, you should crash violently and let another instance handle the retry.