Package errors provides typed errors carrying a semantic exit code.
Every command handler returns plain error; main.go uses CodeOf to translate
to the global exit code table when calling os.Exit.
ExitCode is the process exit code class for a lore error. The same code
means the same class of failure across every subcommand so scripts and
agents can react uniformly. The exact cause goes in the error Message.
CodeOf walks the error chain and returns the first ExitCode found, or
CodeGenericError if no *Error appears in the chain. Returns CodeSuccess
only when err is nil.