ExitCode returns the OS exit code that the CLI will use when this error is returned from a command handler.
()
| 1292 | // ExitCode returns the OS exit code that the CLI will use when this error is |
| 1293 | // returned from a command handler. |
| 1294 | func (e *exitError) ExitCode() int { |
| 1295 | return e.code |
| 1296 | } |
| 1297 | |
| 1298 | // ExitError returns an error that will cause the CLI to exit with the given |
| 1299 | // exit code. If err is non-nil, it will be wrapped by the returned error. |
no outgoing calls