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

Commit 6fc8196

Browse files
Refactored strings
1 parent 933ac84 commit 6fc8196

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Sources/CWSError.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ public enum CWSError: Error, LocalizedError {
2828
case .pingJSONCastError(let array): return "Cannot cast array object to JSON with ping values, array object: \(array)."
2929
case .pingIntervalCastError(let json): return "Cannot cast ping interval as 'Double' from ping JSON, JSON: \(json)."
3030
case .binaryCastError(let json): return "Cannot cast ping binary as 'Bool' from ping JSON, JSON: \(json)."
31-
case .binaryDecodeError(let message): return "Cannot convert binary message to string using UTF8, message: \(message)"
32-
case .binaryEncodeError(let ping): return "Cannot encode ping message to binary, ping message: \(ping)"
33-
case .failedToCastPingTimer: return "Failed to get ping timer from settings, might be a server set up error"
31+
case .binaryDecodeError(let message): return "Cannot convert binary message to string using UTF8, message: \(message)."
32+
case .binaryEncodeError(let ping): return "Cannot encode ping message to binary, ping message: \(ping)."
33+
case .failedToCastPingTimer: return "Failed to get ping timer from settings, might be a server set up error."
3434
}
3535
}
3636
}

0 commit comments

Comments
 (0)