Same pattern as every tier in this family: APIException + ErrorCode enum, one exception handler registered in app.py. This tier's enum adds auth-related codes (TOKEN_EXPIRED, USER_NOT_FOUND, USER_ALREADY_EXISTS) and AUDIT_LOG_FAILED on top of the POC tier's set.
- Never raise a bare exception — always
APIExceptionwith a code fromErrorCode. - Add new codes to the enum rather than inlining strings.