firebase/flutterfire

[📚]Holistically document all throwed exception codes.

Open

#6326 aperta il 6 giu 2021

Vedi su GitHub
 (9 commenti) (10 reazioni) (0 assegnatari)Dart (4097 fork)batch import
good first issueplatform: allplugin: authplugin: functionstype: documentation

Metriche repository

Star
 (9199 star)
Metriche merge PR
 (Merge medio 3g 12h) (38 PR mergiate in 30 g)

Descrizione

Use case

I use FirebaseFunctions and FirebaseAuth. I want to catch FirebaseException and show AlertDialog with special localized alert message, depending on what code is provided.

Problem

I can't find complete exception code list. firebase_auth.dart has scant lists before methods, but firebase_functions.dart hasn't them at all. FlutterFire Docs mentions about only few individual codes. Firebase has something looks like i want, but for Admin SDK (https://firebase.google.com/docs/auth/admin/errors). Is there the a similar list for FlutterFire?

Proposal

Holistically document all throwed exception codes.

Guida contributor