github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/daemon/cluster/executor/container/errors.go (about) 1 package container // import "github.com/demonoid81/moby/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 )