github.com/cloudfoundry/cli@v7.1.0+incompatible/command/translatableerror/conflicting_buildpacks_error.go (about)

     1  package translatableerror
     2  
     3  type ConflictingBuildpacksError struct {
     4  }
     5  
     6  func (ConflictingBuildpacksError) Error() string {
     7  	return "Cannot specify 'null' or 'default' with other buildpacks"
     8  }
     9  
    10  func (e ConflictingBuildpacksError) Translate(translate func(string, ...interface{}) string) string {
    11  	return translate(e.Error(), nil)
    12  }