Follow

Losing my shit cause this test is failing with an error that's actually being caught. 💀

· · Web · 1 · 0 · 0

@mauve a reason why try/rescue/catch (depending on language) ehuld be specific. We used to raw dog it all in C, by actually checking error returns...

@mcr314 Sadly it's not even related to try catch in this case. It's something weird in the node.js test framework detecting "unhandled promise rejections".

@mcr314 I totally agree re: specific error classes. I think Java got it right.

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.