Here's to hoping there will be no lasting aftereffects.
If I weren't exhausted right now I'd do the force calculations to compare the power of being hit by that ball with being hit by bullets of different calibers.
Well, I'm bored at work so I'll take this on.
A 5 1/8 ounce baseball going at 100 MPH converts to 2242 grains and 146 2/3 feet per second, for about 107 ft-lbs of energy.
A 230 grain .45 ACP round at 850 FPS gets you about 369 ft-lbs, and a 115 grain 9mm round at 1250 FPS gets you about 399 ft-lbs. A 40 grain .22 LR at 1080 FPS gets you about 104 ft-lbs.
The cross-section of a .22 LR is much less than the ball, of course, so it's a lot more likely to make holes in organs that work better without them.
The moral of this story is to do what you did, and duck.