From 9161637725a03081a4b2670e2d13eaacf971ad38 Mon Sep 17 00:00:00 2001 From: Elvis Date: Wed, 17 Jul 2024 00:34:54 +0200 Subject: [PATCH] Make message public --- Sources/Networking/Networking.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Networking/Networking.swift b/Sources/Networking/Networking.swift index 7448aa4..597a9a5 100644 --- a/Sources/Networking/Networking.swift +++ b/Sources/Networking/Networking.swift @@ -7,7 +7,7 @@ public enum NetworkingError: Error { case serverError(statusCode: Int, message: String, details: [String: Any]?) case unexpectedError(statusCode: Int?, message: String) - var message: String { + public var message: String { switch self { case .invalidURL: return "We're sorry, but the URL for this request is invalid. Please verify the URL format."