Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUserInput = errors.New("user input error") ErrDependency = errors.New("dependency failure") ErrPolicyViolation = errors.New("policy violation") )
Semantic exit codes for agent-friendly error handling.
0 = successful command (including differences unless --exit-code is set) 1 = differences with --exit-code, or any error not matched below 2 = errors wrapping ErrUserInput 3 = errors wrapping ErrDependency or containing preview.ExpansionError 5 = errors wrapping ErrPolicyViolation
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.