Implement make_failed
Merge pull request #1 from andyw8/implement_make_failed

Implement make_failed