Hacker News new | ask | show | jobs
by arwalk 302 days ago
The real problem is not about the if-else, its that he's comparing to the global error set, and not to the FileError error set he created specifically to define AccessDenied.
1 comments

The real problem is that this compiles without error