
This returns a typed error for calls to Kill when the process has already finished. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
11 lines
333 B
Go
11 lines
333 B
Go
package plugin
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrContainerExists = errors.New("runtime: container with id already exists")
|
|
ErrContainerNotExist = errors.New("runtime: container does not exist")
|
|
ErrRuntimeNotExist = errors.New("runtime: runtime does not exist")
|
|
ErrProcessExited = errors.New("runtime: process already exited")
|
|
)
|