Not to go into detail but there is a method called the STRADA method which basically involves taking all your failure criteria, figuring out what could go wrong that would make those failures happen, and figuring out how to stop those things from going wrong.