A few weeks ago I was in maths class and was asked to go up to the board. My maths teacher was correcting the way I was laying out the sum, and I wasn't sure why. She gave me some explanation that I didn't fully understand, and so I jokingly went "So I have to appeal to the examiner's stupidity?" Bear in mind, this teacher jokes constantly and is a very sarcastic person. She never seriously gets mad at anyone and is just a chill teacher. However, she took my joke as me calling her stupid (it wasn't even directed at her and even if it was, I wasn't seriously calling the examiner stupid).

She makes me sit down and starts screaming at me about how she won't take "being called stupid". I end up crying silently for the rest of the class, and despite me wishing and wishing she wouldn't, she asked me to stay back afterwards. I end up having a full blown panic attack while she's all like "Why are you breathing like that?" "I'm not mad at you".

According to her, all is forgiven and forgotten and it's not a big deal. Am I the asshole for unintentionally calling her stupid, or for just not being able to get over it?