MCPcopy Index your code
hub / github.com/tailscale/tailscale / errExitCode

Function errExitCode

cmd/testwrapper/testwrapper_test.go:453–458  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

451}
452
453func errExitCode(err error) (int, bool) {
454 if exit, ok := errors.AsType[*exec.ExitError](err); ok {
455 return exit.ExitCode(), true
456 }
457 return 0, false
458}

Callers 5

TestPermanentFailureFunction · 0.85
TestBuildErrorFunction · 0.85
TestTimeoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…