From a4b3de8d5885fe92fd65386e52c366cdc8b609f9 Mon Sep 17 00:00:00 2001 From: Mohammad Reza Ansary Date: Tue, 3 Aug 2021 15:58:21 +0430 Subject: [PATCH] change access control of message in socket error --- Sources/SocketKit/Socket/SocketError.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SocketKit/Socket/SocketError.swift b/Sources/SocketKit/Socket/SocketError.swift index 25e2f83..f445645 100644 --- a/Sources/SocketKit/Socket/SocketError.swift +++ b/Sources/SocketKit/Socket/SocketError.swift @@ -11,7 +11,7 @@ public enum SocketError: Error { case noChannel case parsingError(_ error: Error) - var message: String { + public var message: String { switch self { case .emptyOption: return "There is no option." case .channelExist: return "The channel currently is subscribing."