Sorry to hear about this.
I am very glad you are ok these can be very devastating and scary. I hope we all can learn from these issues.
Could we get some details when you have time?
Did you have any modifications to the printer or was it "stock" as it comes in the box?
What were you printing material wise? Temp of bed and hot end?
How long had it been running when this was discovered?
Thank You and I hope you recover from this!