`ERROR_CODE_MAP` does not include all server‑side error codes. **Risk:** Unmapped codes fall back to generic `APIError`, losing granularity. **Proposed fix:** Periodically sync code map with backend and expose unknown code in exception data for user handling.
ERROR_CODE_MAPdoes not include all server‑side error codes.Risk: Unmapped codes fall back to generic
APIError, losing granularity.Proposed fix: Periodically sync code map with backend and expose unknown code in exception data for user handling.