The absolute hardest thing to do is to realize that our efforts aren't always appreciated. We often send signals and don't realize that the people we work with receive different messages than we think we are sending.
So first, deep breath. Second, is it worth sacrificing your family for this? I'm not saying quit, I'm saying reevaluate. What is your value, and what are your values? Get those straight.
I'd be tempted to take a mental health day. Be honest with your boss that you are processing what you've heard and you want to come back as your best self, but you need an extra day. There's nothing wrong with that.
Evaluate if the feedback is fair. This means getting out of your amygdala and into that beautiful pre-frontal cortex. Sit down with your boss and discuss their view. Do they think it's fair? Do you? Is there a mentorship program you could access? What changes does your boss want to see?
You have options. You can let this fold you under (and that is so tempting when your in it!) or you can let this forge you. It's long, it's hard, but this is one point in your employment history. You have time to get better at what you do.
Lastly, maybe ask your team how you can improve. Ask questions for each project: do you understand what I am asking about xyz project? Do you have questions? Have I been clear in my expectations? How can I better help you? Whatever applies to your field. Get specific about those questions as they pertain to the critique.
Your dignity isn't wrapped in the critique, it's in how you handle it when you get back. People don't realize respect is earned. You got this.