From 0000718830b4135122fba4844879ff24c850f12f Mon Sep 17 00:00:00 2001 From: Laurent Clouet Date: Tue, 30 Aug 2016 20:01:26 +0200 Subject: [PATCH] User friendly error message --- src/com/sheepit/client/Error.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/sheepit/client/Error.java b/src/com/sheepit/client/Error.java index 8038e52..5f4adec 100644 --- a/src/com/sheepit/client/Error.java +++ b/src/com/sheepit/client/Error.java @@ -141,6 +141,8 @@ public class Error { public static String humanString(Type in) { switch (in) { + case NETWORK_ISSUE: + return "Could not connect to the server, please check if you have connectivity issue"; case TOO_OLD_CLIENT: return "This client is too old, you need to update it"; case AUTHENTICATION_FAILED: