In case the api throws an error response (Status != 200) there is a json object returned containing a errorCode property. The value is a localization key and needs to be used to display a localized error message to the user.
- on api errors there errorCode if present is used to localize the error messsage displayed to the user (using the localization loaded on frontend initialization)
- if the errorCode property is not present or empty the errorMessage property content is shown instead
- Generic Rest API Error Response