github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/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  }