github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+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  }