Consider the following scenario: your design error has caused damage to the person or property of another, and you are…