From 6f18d46037751a8a43b5fe3742b005f265b55438 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Thu, 11 May 2023 23:26:06 -0400 Subject: [PATCH] Properly conform Client.Error to LocalizedError --- Packages/Pachyderm/Sources/Pachyderm/Client.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/Pachyderm/Sources/Pachyderm/Client.swift b/Packages/Pachyderm/Sources/Pachyderm/Client.swift index 39a919e8..f34e423a 100644 --- a/Packages/Pachyderm/Sources/Pachyderm/Client.swift +++ b/Packages/Pachyderm/Sources/Pachyderm/Client.swift @@ -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)"