flutterfire
flutterfire copied to clipboard
feat: updating not found exception to give more information
Description
The standard exception was not very helpful. I could tell a file wasn't found, but no indication of why or what file. This uses the platformException.message that has the actual file path, and returns it to the user.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]
).
This will ensure a smooth and quick review process. Updating the pubspec.yaml
and changelogs is not required.
- [X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
- [x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
- [X] All existing and new tests are passing.
- [X] I updated/added relevant documentation (doc comments with
///
). - [X] The analyzer (
melos run analyze
) does not report any problems on my PR. - [X] I read and followed the Flutter Style Guide.
- [X] I signed the CLA.
- [X] I am willing to follow-up on review comments in a timely manner.
Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?
- [ ] Yes, this is a breaking change.
- [X] No, this is not a breaking change.