cloud_firestore should throw own exceptions #638
Labels
impact: customer
A bug with low impact (e.g. affecting only a few customers or has a workaround). (P3)
plugin: cloud_firestore
resolution: duplicate
This issue or pull request already exists
type: bug
Something isn't working
type: enhancement
New feature or request
As of
cloud_firestore
v0.8.0, all exceptions coming from the plugin arePlatformException
. This makes it hard to catch specific problems.For example, this is what I get from a regular transaction timeout exception:
In this particular example, I would love to have a
TimeoutException
instead, and catch only that.cc @kroikie @bparrishMines
The text was updated successfully, but these errors were encountered: