errors.go 502 B

123456789101112131415
  1. package container
  2. import "fmt"
  3. var (
  4. // ErrImageRequired returned if a task is missing the image definition.
  5. ErrImageRequired = fmt.Errorf("dockerexec: image required")
  6. // ErrContainerDestroyed returned when a container is prematurely destroyed
  7. // during a wait call.
  8. ErrContainerDestroyed = fmt.Errorf("dockerexec: container destroyed")
  9. // ErrContainerUnhealthy returned if controller detects the health check failure
  10. ErrContainerUnhealthy = fmt.Errorf("dockerexec: unhealthy container")
  11. )