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

Function NewExitCoderErr

pkg/errutil/exit_coder.go:33–37  ·  view source on GitHub ↗
(exitCode int)

Source from the content-addressed store, hash-verified

31}
32
33func NewExitCoderErr(exitCode int) ExitCodeError {
34 return ExitCodeError{
35 exitCode: exitCode,
36 }
37}
38
39func (e ExitCodeError) ExitCode() int {
40 return e.exitCode

Callers 3

StartFunction · 0.92
AttachFunction · 0.92
runActionFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…