title: Get error Changing a user's email/password in Firebase 3 for Android
body: <p>I'm looking to catch the errors of the new methods to change email and password for Android, but I can't seem to find anything. Can somebody point me in the right direction?</p>
  
  <p>The official documentation is not clear about this.</p>
  
  <pre><code>FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser();
  String newPassword = "SOME-SECURE-PASSWORD";
  
  user.updatePassword(newPassword)
          .addOnCompleteListener(new OnCompleteListener&lt;Void&gt;() {
              @Override
              public void onComplete(@NonNull Task&lt;Void&gt; task) {
                  if (task.isSuccessful()) {
                      Log.d(TAG, "User password updated.");
                  }
              }
          });
  </code></pre>
  
  <p><a href="https://firebase.google.com/docs/auth/android/manage-users#set_a_users_password" rel="nofollow">https://firebase.google.com/docs/auth/android/manage-users#set_a_users_password</a></p>