Add doc for ft_error. Updated doc of array_new