baseerrMsg method

String baseerrMsg(
  1. dynamic e,
  2. bool isFirebaseException,
  3. FirebaseExceptionData fe
)

Implementation

String baseerrMsg(
  dynamic e,
  bool isFirebaseException,
  FirebaseExceptionData fe,
) {
  final response = errMsg(e, isFirebaseException, fe);

  if (isNonNull(response)) return response;
  if (isFirebaseException) {
    switch (fe.code) {
      case 'user-not-found':
        return 'There is no user record corresponding to this identifier. Please create an account';
        break;
      default:
    }
  }
  return null;
}