Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/wavetermdev/waveterm
/ exitCodeFromWaitErr
Function
exitCodeFromWaitErr
pkg/buildercontroller/buildercontroller.go:594–602 ·
view source on GitHub ↗
(waitErr error)
Source
from the content-addressed store, hash-verified
592
}
593
594
func
exitCodeFromWaitErr(waitErr error) int {
595
if
waitErr == nil {
596
return
0
597
}
598
if
exitError, ok := waitErr.(*exec.ExitError); ok {
599
return
exitError.ExitCode()
600
}
601
return
1
602
}
Callers
1
buildAndRun
Method · 0.70
Calls
1
ExitCode
Method · 0.65
Tested by
no test coverage detected