Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Commit

Permalink
Refactored strings
Browse files Browse the repository at this point in the history
  • Loading branch information
romanbaitaliuk committed Oct 14, 2018
1 parent 933ac84 commit 6fc8196
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/CWSError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ public enum CWSError: Error, LocalizedError {
case .pingJSONCastError(let array): return "Cannot cast array object to JSON with ping values, array object: \(array)."
case .pingIntervalCastError(let json): return "Cannot cast ping interval as 'Double' from ping JSON, JSON: \(json)."
case .binaryCastError(let json): return "Cannot cast ping binary as 'Bool' from ping JSON, JSON: \(json)."
case .binaryDecodeError(let message): return "Cannot convert binary message to string using UTF8, message: \(message)"
case .binaryEncodeError(let ping): return "Cannot encode ping message to binary, ping message: \(ping)"
case .failedToCastPingTimer: return "Failed to get ping timer from settings, might be a server set up error"
case .binaryDecodeError(let message): return "Cannot convert binary message to string using UTF8, message: \(message)."
case .binaryEncodeError(let ping): return "Cannot encode ping message to binary, ping message: \(ping)."
case .failedToCastPingTimer: return "Failed to get ping timer from settings, might be a server set up error."
}
}
}

0 comments on commit 6fc8196

Please sign in to comment.