Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitCode ¶ added in v0.22.0
ExitCode maps a command error to the exit code the lstk process terminates with: a proxied tool's *exec.ExitError carries that tool's exact code, an output.ExitCodeError carries the --json exit-code convention (3 CONFIRMATION_REQUIRED, 4 AUTH_REQUIRED), anything else collapses to 1. errors.As unwraps through the SilentError wrapper to reach either type. main.go and instrumentCommands both use this, so the telemetry exit_code always matches the real process exit code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.