zed
708cbc2b31
fix: use ErrValidation instead of fmt.Errorf in Validate paths ( #1001 )
...
Replace 8 bare fmt.Errorf calls with output.ErrValidation across 3 files
so validation errors consistently return structured JSON (type: validation,
exit 2) matching the rest of the codebase.
Affected functions: validateExpectedFlag (sheets), validateSendTime,
validateComposeInlineAndAttachments, validateEventFlags (mail),
validateSignatureWithPlainText (mail)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-25 11:52:51 +08:00
..
2026-05-19 14:02:01 +08:00
2026-04-29 15:31:38 +08:00
2026-03-28 10:36:25 +08:00
2026-04-29 15:31:38 +08:00
2026-04-15 17:44:59 +08:00
2026-03-28 10:36:25 +08:00
2026-05-12 14:28:09 +08:00
2026-05-12 14:28:09 +08:00
2026-04-29 15:31:38 +08:00
2026-05-25 11:52:51 +08:00
2026-04-21 20:56:37 +08:00
2026-04-21 20:56:37 +08:00
2026-03-28 10:36:25 +08:00
2026-04-29 15:31:38 +08:00
2026-03-30 18:19:11 +08:00
2026-04-28 21:14:01 +08:00
2026-04-24 14:26:17 +08:00
2026-04-24 14:26:17 +08:00
2026-04-29 15:31:38 +08:00
2026-04-29 15:31:38 +08:00
2026-04-21 20:55:41 +08:00
2026-04-29 15:31:38 +08:00
2026-05-19 14:02:01 +08:00
2026-04-29 15:31:38 +08:00
2026-05-19 15:07:43 +08:00
2026-05-19 15:07:43 +08:00
2026-03-28 10:36:25 +08:00
2026-04-21 20:56:37 +08:00
2026-04-29 15:31:38 +08:00
2026-04-21 20:55:41 +08:00
2026-04-29 15:31:38 +08:00
2026-04-24 14:26:17 +08:00
2026-04-29 15:31:38 +08:00
2026-04-24 14:26:17 +08:00
2026-04-24 14:26:17 +08:00
2026-04-17 15:41:42 +08:00
2026-04-29 15:31:38 +08:00
2026-04-24 21:11:48 +08:00
2026-04-24 21:11:48 +08:00
2026-04-02 19:57:24 +08:00
2026-05-19 15:07:43 +08:00
2026-04-15 17:44:59 +08:00
2026-05-19 15:07:43 +08:00
2026-04-28 21:14:01 +08:00
2026-05-19 15:07:43 +08:00
2026-05-19 15:07:43 +08:00
2026-04-09 21:39:12 +08:00
2026-05-19 15:07:43 +08:00
2026-04-09 21:57:02 +08:00
2026-04-13 17:22:28 +08:00
2026-04-28 21:14:01 +08:00
2026-05-25 11:52:51 +08:00
2026-04-28 21:14:01 +08:00
2026-04-28 21:14:01 +08:00