MCPcopy Create free account
hub / github.com/alecthomas/kong / ExitCode

Method ExitCode

exit.go:17–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15// that is intended to be used as the exit code for the application.
16type ExitCoder interface {
17 ExitCode() int
18}
19
20// exitCodeFromError returns the exit code for the given error.

Callers 1

exitCodeFromErrorFunction · 0.95

Implementers 1

ParseErrorerror.go

Calls

no outgoing calls

Tested by

no test coverage detected