Details
Details
- Reviewers
bartek - Commits
- rCOMMff184a806424: [lib] implement `BackupIsNewerError` class
- Bump store version
- Upload backup
- Restore store version to lower
- Build app & try to restore, alert should be visible. Additionally check state if proper error is stored
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Nice! This is a very convenient pattern of providing additional error info
| lib/utils/errors.js | ||
|---|---|---|
| 69–74 ↗ | (On Diff #48747) | We could possibly hardcode the backup_is_newer message, but I'm not sure if it's the right pattern. |