I am SO sorry to hear of this. I can only imagine how badly that must have hurt your self confidence, and for no good reason at all. As others have said, the problem was with the managers actions and not yours.