Raising exceptions or returning error objects in Python | Hacker News Reader