User friendly error message
This commit is contained in:
@@ -141,6 +141,8 @@ public class Error {
|
|||||||
|
|
||||||
public static String humanString(Type in) {
|
public static String humanString(Type in) {
|
||||||
switch (in) {
|
switch (in) {
|
||||||
|
case NETWORK_ISSUE:
|
||||||
|
return "Could not connect to the server, please check if you have connectivity issue";
|
||||||
case TOO_OLD_CLIENT:
|
case TOO_OLD_CLIENT:
|
||||||
return "This client is too old, you need to update it";
|
return "This client is too old, you need to update it";
|
||||||
case AUTHENTICATION_FAILED:
|
case AUTHENTICATION_FAILED:
|
||||||
|
|||||||
Reference in New Issue
Block a user