Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
16
type
ExitCoder
interface
{
17
ExitCode() int
18
}
19
20
// exitCodeFromError returns the exit code for the given error.
Callers
1
exitCodeFromError
Function · 0.95
Implementers
1
ParseError
error.go
Calls
no outgoing calls
Tested by
no test coverage detected