Move errors to plugin pkg

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-05-11 15:25:26 -07:00
parent 01b9f5ec67
commit 466e14aa71
2 changed files with 4 additions and 4 deletions

10
plugin/errors.go Normal file
View File

@@ -0,0 +1,10 @@
package plugin
import "errors"
var (
ErrUnknownRuntime = errors.New("unknown runtime")
ErrContainerExists = errors.New("container with id already exists")
ErrContainerNotExist = errors.New("container does not exist")
ErrRuntimeNotExist = errors.New("runtime does not exist")
)