User friendly error message

This commit is contained in:
Laurent Clouet
2016-08-30 20:01:26 +02:00
parent 551cecc12f
commit 0000718830

View File

@@ -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: