code: function setServerItemIfPreconditionFailed(error) {
      if (error.request && error.request.status === 412) {
          error.serverInstance = _.fromJson(error.request.responseText);
      }
  }
docs: Converts an error to precondition failed error