func (s ScenarioResult) SetFailure() {
	s.ProtoScenario.ExecutionStatus = gauge_messages.ExecutionStatus_FAILED
	s.ProtoScenario.Failed = true
}
SetFailure sets the scenarioResult as failed
package result
import (
	"github.com/getgauge/gauge-proto/go/gauge_messages"
)
type ScenarioResult struct {
	ProtoScenario             *gauge_messages.ProtoScenario
	ScenarioDataTableRow      *gauge_messages.ProtoTable
	ScenarioDataTableRowIndex int
	ScenarioDataTable         *gauge_messages.ProtoTable
}
func NewScenarioResult(sce *gauge_messages.ProtoScenario) *ScenarioResult {
	return &ScenarioResult{ProtoScenario: sce}
}