Add friendly Arabic error messages for retroactive wizard failures
- Pre-check national_id before insert (shows member name if exists)
- Translate common DB errors: duplicate national_id, phone, foreign key,
data too long — all shown in Arabic with actionable guidance
- Raw PDO errors no longer shown to users
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment