MCPcopy
hub / github.com/kubernetes/client-go / CodeExitError

Struct CodeExitError

util/exec/exec.go:31–34  ·  view source on GitHub ↗

CodeExitError is an implementation of ExitError consisting of an error object and an exit code (the upper bits of os.exec.ExitStatus).

Source from the content-addressed store, hash-verified

29// CodeExitError is an implementation of ExitError consisting of an error object
30// and an exit code (the upper bits of os.exec.ExitStatus).
31type CodeExitError struct {
32 Err error
33 Code int
34}
35
36var _ ExitError = CodeExitError{}
37

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected