What is his blood sugar levels ? You also need to check for blood or urine ketones if you have a point of care device available. It could be food poisoning
but also could be countless other things. Once he gets up you can take him to a doctor if he continues to vomit.
Hope this was helpful.
With warm Regards
Dr. Om Lakhani.