Waffles is okay!
About 2 weeks ago, he was showing some allergy symptoms to whatever. The vet put him on Cephalexin. Apparently this can cause stomach issues (vomiting), even in humans.
The other option is that Waffles just wanted some fresh rice & chicken for nomnoms. I wouldn’t put it past a corgi.