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

Struct ExitCodeError

pkg/errutil/exit_coder.go:29–31  ·  view source on GitHub ↗

ExitCodeError is to allow the program to exit with status code without outputting an error message.

Source from the content-addressed store, hash-verified

27
28// ExitCodeError is to allow the program to exit with status code without outputting an error message.
29type ExitCodeError struct {
30 exitCode int
31}
32
33func NewExitCoderErr(exitCode int) ExitCodeError {
34 return ExitCodeError{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected