Handling network call errors in Kotlin | Hacker News Reader