I think we are all in agreement not to criminalize errors But how do we take car

I think we are all in agreement not to criminalize errors But how do we take care of errors that cause harm or even death?
If your family member’s outcome was death what would you do?