[native][backup_client] Handle BackupNotFound in retrieve_latest_backup_info
Summary:
Rust part of ENG-10039
Depends on D14189
Test Plan:
For:
- user with backup
- without backup
- not existing user
try { const result = await retrieveLatestBackupInfo('username123'); if (result === null) { console.log('backup not found'); } else { console.log('backup found', result); } } catch (e) { const msg = getMessageForException(e); if (msg === 'user_not_found') { console.log('user not found'); } else { console.log('error: ' + msg); } } `
Reviewers: kamil, tomek
Reviewed By: tomek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D14190