MapErrorCodeToErrorMessage method

void MapErrorCodeToErrorMessage()
Called after the response has been loaded from XML in order to map error codes to "better" error messages.

Implementation

void MapErrorCodeToErrorMessage() {
  // Use a better error message when an item cannot be updated because its changeKey is old.
  if (this.ErrorCode == ServiceError.ErrorIrresolvableConflict) {
    this.ErrorMessage = "Strings.ItemIsOutOfDate";
  }
}