Last active
April 12, 2022 12:48
-
-
Save meyusufdemirci/bc659373d20e7c12aa87eee442f342aa to your computer and use it in GitHub Desktop.
Error Handling Article
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum NetworkError: Error { | |
case userNotFound | |
var userFriendlyDescription: String { | |
"NetworkError.\(self)".localized | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment