Properly conform Client.Error to LocalizedError

This commit is contained in:
Shadowfacts 2023-05-11 23:26:06 -04:00
parent 6261318df1
commit 6f18d46037
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ extension Client {
self.type = type
}
public var localizedDescription: String {
public var errorDescription: String? {
switch type {
case .networkError(let error):
return "Network Error: \(error.localizedDescription)"