This commit is contained in:
@@ -117,6 +117,8 @@ Server error codes are all in the range of E1000 to E1999
|
||||
API specific (logic) error codes are all in the range of 2000 to 3000
|
||||
|
||||
CLIENT ERROR CODES:
|
||||
E16 -
|
||||
E16 - ErrorUserNotAuthenticated
|
||||
E17 - ErrorServerUnresponsive
|
||||
E18 - Misc api error during server call, details in the message
|
||||
|
||||
*/
|
||||
*/
|
||||
|
||||
@@ -132,10 +132,10 @@ export default {
|
||||
apiErrorToHumanString(apiError) {
|
||||
//empty error object?
|
||||
if (!apiError) {
|
||||
return "apiErrorToHumanString():: Empty API eror, unknown";
|
||||
return "(E18) - apiErrorToHumanString():: Empty API eror, unknown";
|
||||
}
|
||||
//convert to readable string
|
||||
return JSON.stringify(apiError);
|
||||
return "(E18) - " + JSON.stringify(apiError);
|
||||
},
|
||||
patchAuthorizedHeaders() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user