expo
expo copied to clipboard
[expo-updates] Make error messages consistent across platforms for dev client and disabled controllers
Why
These messages should be more descriptive on iOS. They were already better on android since android exceptions are easier to use, but we can do some string interpolation on iOS to achieve the same set of error messages without needing to create a separate exception subclass for each error.
How
Update messages.
Test Plan
Inspect.
Checklist
- [ ] Documentation is up to date to reflect these changes (eg: https://docs.expo.dev and README.md).
- [ ] Conforms with the Documentation Writing Style Guide
- [ ] This diff will work correctly for
npx expo prebuild
& EAS Build (eg: updated a module plugin).