celest-dev / celest

The Flutter cloud platform
https://celest.dev
Other
232 stars 12 forks source link

DRY up exception handling in generated client #49

Closed dnys1 closed 4 months ago

dnys1 commented 4 months ago

Pointed out by @marcglasberg in #48

simply create a helper function like the _processErrors below, which checks all possible cloud exceptions exported from exceptions.dart[...] And then use that, for all functions.

dnys1 commented 4 months ago

This has been fixed in 0.2.0!