Added additional constructor to Failure.