github.com/cloudfoundry/cli@v7.1.0+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  }