Python errors as valueswww.inngest.comexternal-linkcross-posted to: hackernews@derp.foo mac ( @mac@programming.dev ) Python@programming.dev • 8 months ago message-square7fedilinkarrow-up133
arrow-up133external-linkPython errors as valueswww.inngest.com mac ( @mac@programming.dev ) Python@programming.dev • 8 months ago message-square7fedilinkcross-posted to: hackernews@derp.foo
minus-square CodeMonkey ( @CodeMonkey@programming.dev ) linkfedilink3•8 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.