Working with functions that throw errors in Swift | Hacker News Reader