We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 650c97a + 132f5ee commit e83ccf6Copy full SHA for e83ccf6
libcontainer/error_test.go
@@ -4,12 +4,17 @@ import "testing"
4
5
func TestErrorCode(t *testing.T) {
6
codes := map[ErrorCode]string{
7
- IdInUse: "Id already in use",
8
- InvalidIdFormat: "Invalid format",
9
- ContainerPaused: "Container paused",
10
- ConfigInvalid: "Invalid configuration",
11
- SystemError: "System error",
12
- ContainerNotExists: "Container does not exist",
+ IdInUse: "Id already in use",
+ InvalidIdFormat: "Invalid format",
+ ContainerPaused: "Container paused",
+ ConfigInvalid: "Invalid configuration",
+ SystemError: "System error",
+ ContainerNotExists: "Container does not exist",
13
+ ContainerNotStopped: "Container is not stopped",
14
+ ContainerNotRunning: "Container is not running",
15
+ ConsoleExists: "Console exists for process",
16
+ ContainerNotPaused: "Container is not paused",
17
+ NoProcessOps: "No process operations",
18
}
19
20
for code, expected := range codes {
0 commit comments