Should the other cases also use arrayError if the element type isn't supported?