github.com/DaAlbrecht/cf-cli@v0.0.0-20231128151943-1fe19bb400b9/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  }