No real way to tell, except for what seems to be happening to your character.
Usually, it's one of three things--
1. You're silenced and you can't cast spells until it wears off. However, I think the game says "You are silenced." if that happens, so you'll know.
2. It was a paralysis attempt (if you can move then it failed)
3. Someone cast a spell on you that's slowly draining your magic points away.
I'm not sure if there are any other "enduring" effects but I'm fairly certain that's it. Eventually, you'll remember what creature does what.