title: List of Authorisation errors with Firebase login
body: <p>What I need is a complete list of FirebaseAuthentication codes for all the different login errors and also a list of all those errors. So far I have found some by trial and error but can't take the risk I have missed some.</p>
  
  <p>I am using the Firebase simple login to log in with email/password, facebook, twitter and also anonymous logins. Obviously with this many login methods there are lots of ways the user can fail to login correctly (incorrect email format, didn't enter a password etc). Currently I am using this code:</p>
  
  <pre><code>... authenticateWithDictionary method
  
  completion:^(NSError * error, id&lt;PUser&gt; user) {
  
      if (!error) {
  
          [self loginButtonPressed:Nil];
      }
      else {
  
          [UIView alertWithTitle:bErrorTitle withError:error];
      }
  </code></pre>
  
  <p>The only issue with this is I end my getting errors raised which read like this:</p>
  
  <pre><code>**(Error Code: EMAIL_TAKEN) The specified email address is already in use.**
  </code></pre>
  
  <p>This is fine to let me know what has gone wrong in testing but once the app goes live I will want individual messages to 
  a) look tidier
  b) let the user know why they have got this error</p>
  
  <p>So far through trial and error I have figured out the following: </p>
  
  <p>error code</p>
  
  <pre><code>-5      INVALID EMAIL - empty or incorrect format
  -6      INVALID PASSWORD
  -9      EMAIL TAKEN
  </code></pre>
  
  <p>Once I have a complete list I am going to use a switch statement to get them all being dealt with correctly</p>
  
  <p>Does anyone know the comprehensive list of error codes and errors so that I can take them all into account without having to think through all the options which might mean I miss one</p>