DashboardKnowledgeNumeric exit codes via errors

Numeric exit codes via errors

Category: preference
Confidence: 1.00
ID: 01a082ab-fb10-7ddd-9b50-23668143db6a
Project ID: (global)
Cross-project: Yes
Recalled in other projects: 0
Source session: 0wqisj4WhG2TyaOtb
Created: 2026-08-21 10:46:59
Updated: 2026-09-08 20:18:24

Content

All CLI errors must extend CliError and represent exit statuses through semantic error classes and EXIT definitions; never hardcode numeric codes in commands or helpers. Direct numbers or unrelated errors look simpler, but bypass consistent rendering, policy, and exit-code maintenance.

Move to: