github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+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  }