github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/actor/actionerror/multiple_buildpacks_found_error.go (about)

     1  package actionerror
     2  
     3  import (
     4  	"fmt"
     5  )
     6  
     7  // MultipleBuildpacksFoundError represents the scenario when the cloud
     8  // controller returns multiple buildpacks when filtering by name.
     9  type MultipleBuildpacksFoundError struct {
    10  	BuildpackName string
    11  }
    12  
    13  func (e MultipleBuildpacksFoundError) Error() string {
    14  	return fmt.Sprintf("Multiple buildpacks named %s found", e.BuildpackName)
    15  }