Skip to content

Commit

Permalink
Merge pull request #7 from MohammadRezaAnsari/develop
Browse files Browse the repository at this point in the history
change access control of message in socket error
  • Loading branch information
MohammadRezaAnsari authored Aug 3, 2021
2 parents dde7042 + a4b3de8 commit 743fc13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SocketKit/Socket/SocketError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 743fc13

Please sign in to comment.