awesome-ios-developer/Helper/Network Layer/Error Manager/NetworkResponse.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."
}