diff --git a/container.go b/container.go index 954ff320..307e8cbc 100644 --- a/container.go +++ b/container.go @@ -26,7 +26,7 @@ type Container interface { // // Errors: // ContainerDestroyed - Container no longer exists, - // ProcessConfigInvalid - config is invalid, + // ConfigInvalid - config is invalid, // ContainerPaused - Container is paused, // SystemError - System error. Start(config *ProcessConfig) (pid int, exitChan chan int, err Error) diff --git a/error.go b/error.go index 3b41e26f..5ff56d80 100644 --- a/error.go +++ b/error.go @@ -8,15 +8,14 @@ const ( // Factory errors IdInUse ErrorCode = iota InvalidIdFormat - ConfigInvalid // TODO: add Load errors // Container errors ContainerDestroyed - ProcessConfigInvalid ContainerPaused // Common errors + ConfigInvalid SystemError )