I have with one boss, and it was a non-paying job!! I had taken enough, and got a box, cleaned out my desk....and said good-bye, after many many months of his actions.
I just could not take it any more.
A few times. It often happens if it has to do with losing data on my computer - say I had been writing something up or had a huge project and then it all got lost because of a crash or something.
For specific instances:
Once when as a teenager, when I was doing my Business Studies coursework. It was late in the evening, I'd been working on it for hours already, and I just couldn't get the figures to match up.
Once when I was under an assessment for my dyspraxia and I had to do mental maths and couldn't.
And then other times when I can't deal with my mental illness.