firebase/flutterfire

[📚]Holistically document all throwed exception codes.

Open

#6.326 aberto em 6 de jun. de 2021

Ver no GitHub
 (9 comments) (10 reactions) (0 assignees)Dart (4.097 forks)batch import
good first issueplatform: allplugin: authplugin: functionstype: documentation

Métricas do repositório

Stars
 (9.199 stars)
Métricas de merge de PR
 (Mesclagem média 3d 12h) (38 fundiu PRs em 30d)

Description

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.

Guia do colaborador