@ -34,35 +34,35 @@ public enum SnodeAPIError: LocalizedError {
caseunreachable
caseunreachable
caseunassociatedPubkey
caseunassociatedPubkey
publicvarerrorDescription:String?{
publicvardescription:String{
switchself{
switchself{
case.clockOutOfSync:return"Your clock is out of sync with the Service Node network. Please check that your device's clock is set to automatic time."
case.clockOutOfSync:return"Your clock is out of sync with the Service Node network. Please check that your device's clock is set to automatic time (SnodeAPIError.clockOutOfSync)."
case.snodePoolUpdatingFailed:return"Failed to update the Service Node pool."
case.snodePoolUpdatingFailed:return"Failed to update the Service Node pool (SnodeAPIError.snodePoolUpdatingFailed)."
case.inconsistentSnodePools:return"Received inconsistent Service Node pool information from the Service Node network."
case.inconsistentSnodePools:return"Received inconsistent Service Node pool information from the Service Node network (SnodeAPIError.inconsistentSnodePools)."
case.noKeyPair:return"Missing user key pair."
case.noKeyPair:return"Missing user key pair (SnodeAPIError.noKeyPair)."