mirror of
https://github.com/jphong1111/awesome-ios-developer.git
synced 2025-01-05 21:12:06 +07:00
17 lines
469 B
Swift
17 lines
469 B
Swift
////
|
|
//// NetworkResponse.swift
|
|
////
|
|
//// Created by JungpyoHong on 4/25/21.
|
|
////
|
|
//
|
|
import Foundation
|
|
|
|
enum NetworkResponse: String {
|
|
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."
|
|
}
|