+ Error handling in ft_array + Error handling function