Been there done that. Hit my very first dog in the head with clackers. That was 35 years ago and goofing around with my Boxer running in and out of the house closed the slider and she smacked into!
Boxer seldom watch where they are going both times I felt horrible but they forgive you. It just kinds sucks for all involved but your not alone.