You just hit a nerve bro. The same thing happened to me on my very first quad inject. However, as soon as I felt it, I pulled out, switched pins, and re-inserted. If it happens again, next time don't keep pushing through. Do like I did, and hit a different spot.
The pain you speak of is all too common. I had the same thing happen to me in my quads; I could barely walk the next few days. But your body will get more and more used to it each time you hit the same spot. Just don't hit the same spot too much.
Case in point, I rotate between pecs and quads. The first shots to each site left me very sore as said, but now I've hit everything for a second time and the pain is so much less than the first time I hit all four sites. Hang in there, it will pass....