Failure: How to Understand It, Learn from It, and Recover from It