JavaScript: Chain custom errors to preserve stack traces | Hacker News Reader