firebase/flutterfire

[📚]Holistically document all throwed exception codes.

Open

#6,326 建立於 2021年6月6日

在 GitHub 查看
 (9 留言) (10 反應) (0 負責人)Dart (4,097 fork)batch import
good first issueplatform: allplugin: authplugin: functionstype: documentation

倉庫指標

Star
 (9,199 star)
PR 合併指標
 (平均合併 3天 12小時) (30 天內合併 38 個 PR)

描述

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.

貢獻者指南