ExitCode returns the process exit code for a command's error and, when the.
func ExitCode(err error) intExitCode returns the process exit code for a command's error and, when the detailed codes are not enabled, writes a deprecation warning to stderr for a failure whose code changes in exitcode.DefaultIn.
| Name | Type | Description |
|---|---|---|
err* | error |