Documentation ¶
Index ¶
Constants ¶
View Source
const ( OK = 0 // Bazel defines exit codes ~ 1-50: https://bazel.build/run/scripts#exit-codes // `bazel run` may propagate the exit code of the binary it runs. Failed = 1 // test/build/run build failure CLIError = 2 // bad cli args, bad env vars, etc. PartialOk = 3 // build success, but: no tests found, query error, etc. NoTestsFound = 4 UnhandledOrInternalError = 37 // Aspect CLI specific exit codes: 100 - ~200 ConfigureFixed = 110 ConfigureDiff = 111 ConfigureNoConfig = 112 )
Variables ¶
This section is empty.
Functions ¶
func HandleError ¶
func HandleError(err error)
Output information about the provided error and terminate the process. This should only be used in an application's main function or equivalent.
Types ¶
type ErrorList ¶
type ErrorList struct {
// contains filtered or unexported fields
}
ErrorList is a linked list for errors.
Click to show internal directories.
Click to hide internal directories.