github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/actor/actionerror/property_combination_error.go (about)

     1  package actionerror
     2  
     3  import (
     4  	"fmt"
     5  	"strings"
     6  )
     7  
     8  type PropertyCombinationError struct {
     9  	AppName    string
    10  	Properties []string
    11  }
    12  
    13  func (e PropertyCombinationError) Error() string {
    14  	return fmt.Sprintln("Cannot use the following properties together:", strings.Join(e.Properties, ", "))
    15  }