github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/actor/actionerror/buildpack_not_found_error.go (about)

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // BuildpackNotFoundError is returned when a requested buildpack is not found.
     6  type BuildpackNotFoundError struct {
     7  	BuildpackName string
     8  	StackName     string
     9  }
    10  
    11  func (e BuildpackNotFoundError) Error() string {
    12  	return fmt.Sprintf("Buildpack not found - Name: '%s'; Stack: '%s'", e.BuildpackName, e.StackName)
    13  }