Strict error handling in JavaScript with a functional try | Hacker News Reader