MCPcopy Create free account
hub / github.com/containerd/nerdctl / Error

Method Error

pkg/cmd/container/remove.go:56–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54}
55
56func (e ErrContainerStatus) Error() string {
57 return fmt.Sprintf("container %s is in %v status", e.ID, e.Status)
58}
59
60// NewStatusError creates an ErrContainerStatus from container id and status.
61func NewStatusError(id string, status containerd.ProcessStatus) error {

Callers 15

CopyFilesFunction · 0.45
TestParseExtraHostsFunction · 0.45
UpdateErrorLabelFunction · 0.45
StartFunction · 0.45
waitContainerStopFunction · 0.45
HandleConsoleResizeFunction · 0.45
HandleConsoleResizeFunction · 0.45
LogsFunction · 0.45
AttachFunction · 0.45
RemoveFunction · 0.45
collectFunction · 0.45
execActionWithContainerFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestParseExtraHostsFunction · 0.36