screens/Login.js
/**
   * Converts Firebase error code into a helpful error message for the user
   * @returns error message
   */
Converts Firebase error code into a helpful error message for the user
@returns error message
Converts Firebase error code into a helpful error message for the user @returns error message
function translateErrorCodeToMessage() {
    if (loginErrorCode == "") return "";
    if (loginErrorCode == "auth/wrong-password")
      return "Wrong password! Please check again.";
    if (loginErrorCode == "auth/user-not-found")
      return "User not found! Please register for an account.";
    else return "Error! Please email the admin.";
  }
function translateErrorCodeToMessage ( ) { if ( loginErrorCode == "" ) return "" ; if ( loginErrorCode == "auth/wrong-password" ) return "Wrong password! Please check again." ; if ( loginErrorCode == "auth/user-not-found" ) return "User not found! Please register for an account." ; else return "Error! Please email the admin." ; }
Converts Firebase error code into a helpful error message for the user
 @returns error message
Converts Firebase error code into a helpful error message for the user @returns error message