I've had that same problem happen to me only once.
I wasn't even smoking dank, it was just some mids. I smoked (if I can remember), a joint to myself, a blunt between me and another person, a blunt with 3 other people, 4 or so gravity bong hits, and I think a bowl or two.

We started smoking around 10 pm. I went to bed around 1ish. I remember waking up at 2 am on the dot, and feeling sick to my stomach. Reeeeally bad stomach cramps. Like the kind you get from running a lot, times 10. I laid in bed trying to go back to sleep for about 30 minutes and finally realized I just really needed to puke. So I went to the bathroom, puked, felt slightly better, and went back to sleep. Woke up at 3 am on the dot, and ran to the bathroom because I had to puke again. I went back to sleep again and woke up every hour on the hour up until about 7 am. By 5 am I couldn't even throw up anymore.. it was just like bile and dry-heaving. The next morning I still felt a little shitty, but it wore off by the afternoon.