4 ms·
Or someone will catch it and discard the result which is often often what occurs. For example, with java throw an exception in an executor task (an assertion fa
by fooster 11y ago
Or someone will catch it and discard the result which is often often what occurs. For example, with java throw an exception in an executor task (an assertion failure for example). What do you think occurs?
- jacques_chester 11y agoWhich happens in Go too. I've seen a lot of code that happily sails past functions which only return err, meaning the compiler never pipes up. Don't get me wrong, though. I become grumpy when I see empty catch clauses. Or a logger figleaf.