2466553216b50837bd64de9adc1e7dedf70dffd3
Ensures the unexpected-state path produces a structured JSON error response instead of an unmapped 500 RuntimeException. Adds OCR_TRAINING_CONFLICT ErrorCode and mirrors it in the frontend errors.ts. Adds coverage tests for getAllSenderModels() and runSenderTraining(). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix(ocr): replace IllegalStateException with DomainException.internal in triggerManualSenderTraining
fix(ocr): replace IllegalStateException with DomainException.internal in triggerManualSenderTraining
Description
No description provided
Languages
Python
73.1%
TypeScript
11.5%
Java
10.9%
Svelte
4.2%
Shell
0.1%