code: function resolveHostAndPortFromMovedError(movedError) {
    // Attempt to resolve the new host & port from the error message
    if (isMovedError(movedError)) {
      return movedError.message.substring(movedError.message.lastIndexOf(' ') + 1).split(':');
    }
    throw new Error(`Unexpected ioredis client "moved" ReplyError - ${movedError}`);
  }
docs: Extracts the new host and port from the given RedisClient "moved" ReplyError.
  @param {ReplyError|Error} movedError - a ReplyError thrown by a RedisClient instance that indicates the redis server
  has moved
  @return {[string, number|string]} the new host and port