Tom Boucher
7032f44633
fix( #2544 ): exit 1 on missing key in config-get ( #2588 )
...
The configGet query handler previously threw GSDError with
ErrorClassification.Validation, which maps to exit code 10. Callers
using `if ! gsd-sdk query config-get key; then fallback; fi` could
not detect missing keys through the exit code alone, because exit 10
is still truthy-failure but the intent (and documented UNIX
convention — cf. `git config --get`) is exit 1 for absent key.
Change the classification for the two 'Key not found' throw sites to
ErrorClassification.Execution so the CLI exits 1 on missing key.
Usage/schema errors (no key argument, malformed JSON, missing
config.json) remain Validation.
Closes #2544
2026-04-22 12:04:03 -04:00
..
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-22 11:28:25 -04:00
2026-04-22 12:04:03 -04:00
2026-04-22 12:04:03 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 10:10:10 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-12 18:15:04 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:19:21 -04:00
2026-04-22 10:41:37 -04:00
2026-04-22 10:41:37 -04:00
2026-04-19 15:55:37 -05:00
2026-04-20 18:09:02 -04:00
2026-04-12 18:15:04 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-18 12:35:23 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-12 08:33:04 -04:00
2026-04-21 20:33:24 -04:00
2026-04-12 08:33:04 -04:00
2026-04-12 18:15:04 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-12 08:33:04 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-15 22:46:31 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-21 20:33:24 -04:00
2026-04-22 10:41:37 -04:00
2026-04-22 10:41:37 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-20 18:09:02 -04:00
2026-04-22 12:03:59 -04:00
2026-04-22 12:03:59 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-12 08:33:04 -04:00
2026-04-21 20:33:24 -04:00
2026-04-20 18:09:02 -04:00
2026-04-21 20:33:24 -04:00
2026-04-12 08:33:04 -04:00
2026-04-21 20:33:24 -04:00
2026-04-12 18:15:04 -04:00
2026-04-12 08:33:04 -04:00
2026-04-12 08:33:04 -04:00
2026-04-12 08:33:04 -04:00
2026-04-12 18:15:04 -04:00
2026-04-20 18:09:02 -04:00