what was it??

So today I had two panic attacks in a row (long story). They were pretty severe so they were quite taxing. after this, I began having convulsions. I'm not quite sure how do describe it, so I'll do my best. I was sitting in a chair, when I suddenly tensed up very harshly, hunched over, and began violently shaking. then I sat back up and felt very dizzy. this happened 7 times and each lasted about 2 minutes. the rest of the day I had an upset stomach. what was It? was it a seizure (I ask because I have chronic migraines), or was it maybe just my body reacting to the stress? i will be checking with my doctor but if you have any theories please share.