Hacker News new | ask | show | jobs
by minfduck 2920 days ago
No it doesn't. This article is specifically about how you can use the Swift type system to prevent that from happening. You get a compile time guarantee that the result will either be data or error.
1 comments

The server can a aboulutly send you data and error as nil, either by error or on purpose. Someone is gonna handle that.