Mac@programming.dev to Python@programming.dev · 2 years agoPython errors as valueswww.inngest.comexternal-linkmessage-square2linkfedilinkarrow-up10arrow-down10
arrow-up10arrow-down1external-linkPython errors as valueswww.inngest.comMac@programming.dev to Python@programming.dev · 2 years agomessage-square2linkfedilink
minus-squareCodeMonkey@programming.devlinkfedilinkarrow-up1·2 years 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.