github.com/docker/docker@v299999999.0.0-20200612211812-aaf470eca7b5+incompatible/daemon/cluster/executor/container/errors.go (about)

     1  package container // import "github.com/docker/docker/daemon/cluster/executor/container"
     2  
     3  import (
     4  	"errors"
     5  )
     6  
     7  var (
     8  	// ErrImageRequired returned if a task is missing the image definition.
     9  	ErrImageRequired = errors.New("dockerexec: image required")
    10  
    11  	// ErrContainerDestroyed returned when a container is prematurely destroyed
    12  	// during a wait call.
    13  	ErrContainerDestroyed = errors.New("dockerexec: container destroyed")
    14  
    15  	// ErrContainerUnhealthy returned if controller detects the health check failure
    16  	ErrContainerUnhealthy = errors.New("dockerexec: unhealthy container")
    17  )