This commit is contained in:
@@ -17,7 +17,7 @@ function dealWithError(msg, vm) {
|
||||
lastMessageHash = newHash;
|
||||
|
||||
//localize as necessary
|
||||
msg = window.$gz.locale.translateString(msg);
|
||||
msg = window.$gz.translation.translateString(msg);
|
||||
|
||||
//In some cases the error may not be localizable, if this is not a debug run then it should show without the ?? that localizing puts in keys not found
|
||||
//so it's not as weird looking to the user
|
||||
@@ -126,6 +126,6 @@ API specific (logic) error codes are all in the range of 2000 to 3000
|
||||
CLIENT ERROR CODES:
|
||||
E16 - ErrorUserNotAuthenticated
|
||||
E17 - ErrorServerUnresponsive
|
||||
E18 - Misc error without a locale key, unexpected throws etc or api error during server call, details in the message / Any error without a locale key defined basically
|
||||
E18 - Misc error without a translation key, unexpected throws etc or api error during server call, details in the message / Any error without a translation key defined basically
|
||||
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user