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

     1  package actionerror
     2  
     3  import "fmt"
     4  
     5  // EmptyBuildpackDirectoryError represents the error when a user tries to upload
     6  // new buildpack bits but specifies an empty directory as the path to these bits.
     7  type EmptyBuildpackDirectoryError struct {
     8  	Path string
     9  }
    10  
    11  func (e EmptyBuildpackDirectoryError) Error() string {
    12  	return fmt.Sprint(e.Path, " is empty")
    13  }