No one beats me up more than me. Seems I am not alone in that.
The thing is that we all make mistakes and others will understand that. We are harder on ourselves than others will ever be on us.
In this past year and a half my work ethic has slid, not intentionally but from workaholic to a normal work day. I make it worse for myself as I beat myself up over the slide. And then the other day, out of the blue, one of my higher ups complimented me on my reports - said he loved to read them and always got a chuckle and read them first before anyone else's reports. His compliments not only made my week but reminded me how much of my perceived failure is in my own head.
And BM, so you made a mistake - I am betting that you acknowledged it, fixed it and in the end handled it like a pro. And that shows your value - not letting the mistake define your work.