github.com/ferranbt/nomad@v0.9.3-0.20190607002617-85c449b7667c/plugins/drivers/errors.go (about)

     1  package drivers
     2  
     3  import "fmt"
     4  
     5  var ErrTaskNotFound = fmt.Errorf("task not found for given id")
     6  
     7  var DriverRequiresRootMessage = "Driver must run as root"
     8  
     9  var NoCgroupMountMessage = "Failed to discover cgroup mount point"
    10  
    11  var CgroupMountEmpty = "Cgroup mount point unavailable"