Allow iterating through, return error when finished