Merge branch 'rename_bad_upload_respone_type' into 'master'
clarify bad respone client type error See merge request sheepitrenderfarm/client!125
This commit is contained in:
@@ -55,7 +55,7 @@ public class Error {
|
|||||||
|
|
||||||
// internal error handling
|
// internal error handling
|
||||||
NO_SPACE_LEFT_ON_DEVICE(100),
|
NO_SPACE_LEFT_ON_DEVICE(100),
|
||||||
ERROR_BAD_RESPONSE(101),
|
ERROR_BAD_UPLOAD_RESPONSE(101),
|
||||||
PATH_INVALID(102),
|
PATH_INVALID(102),
|
||||||
NO_WRITE_PERMISSION(103),
|
NO_WRITE_PERMISSION(103),
|
||||||
;
|
;
|
||||||
@@ -156,7 +156,7 @@ public class Error {
|
|||||||
|
|
||||||
public static String humanString(Type in) {
|
public static String humanString(Type in) {
|
||||||
switch (in) {
|
switch (in) {
|
||||||
case ERROR_BAD_RESPONSE:
|
case ERROR_BAD_UPLOAD_RESPONSE:
|
||||||
return "Corrupt response from the server when trying to upload data. The server might be overloaded or be encountering other issues. Will try again in a few minutes.";
|
return "Corrupt response from the server when trying to upload data. The server might be overloaded or be encountering other issues. Will try again in a few minutes.";
|
||||||
case NETWORK_ISSUE:
|
case NETWORK_ISSUE:
|
||||||
return "Could not connect to the server, please check your connection to the internet.";
|
return "Could not connect to the server, please check your connection to the internet.";
|
||||||
|
|||||||
Reference in New Issue
Block a user