title: unity firebase catch exception errors
body: <p>Good Day!</p>
  
  <p>We are using unity on working with firebase. We referred to firebase guides for unity. We tried to download files from storage which does not exist and returned an error that retry limit is exceeded. We would like to catch this error  and show our customized error message since the default exception for retry limit exceed is very long. Here is an example of our code for printing the exception.</p>
  
  <pre><code>imaginary_ref.GetBytesAsync (maxAllowedSize).ContinueWith (task =&gt; {
          if (task.IsFaulted || task.IsCanceled) {
              Debug.Log  (task.Exception.ToString());
          } 
          else if (task.IsCompleted) {
              Debug.Log ("Successful download!");
          } else{
              Debug.Log  (task.Exception.ToString());
          }
      });
  </code></pre>
  
  <p>In the example above, we would like to capture the task exception and print our own error but there is no documentation for that.</p>
  
  <p>Ex.</p>
  
  <pre><code>if (ErrorRetryLimitExceeded) 
  Debug.Log("Retry Limit Exceeded");
  else if (ErrorCanceled )
  Debug.Log("Download was canceled by user");
  </code></pre>
  
  <p>Also does firebase now have exception reference for Firebase Authorization for Unity?</p>
  
  <p>Thanks!</p>