Created
May 14, 2019 06:51
-
-
Save Mintri1199/566a5d9bd7c7663d8748c909e2c82893 to your computer and use it in GitHub Desktop.
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 NetworkReponse: String, Error { | |
case authenticationError = "You need to be authenticated first." | |
case badRequest = "Bad Request" | |
case outdated = "The url you requested is outdated." | |
case failed = "Network request failed." | |
case noData = "Response returned with no data to decode." | |
case unableToDecode = "We could not decode the response." | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment