fix: fix impersonated cred exception doc (#521)
diff --git a/google/auth/impersonated_credentials.py b/google/auth/impersonated_credentials.py
index c682277..58e1bab 100644
--- a/google/auth/impersonated_credentials.py
+++ b/google/auth/impersonated_credentials.py
@@ -75,12 +75,12 @@
API call.
Raises:
- TransportError: Raised if there is an underlying HTTP connection
- Error
- DefaultCredentialsError: Raised if the impersonated credentials
- are not available. Common reasons are
- `iamcredentials.googleapis.com` is not enabled or the
- `Service Account Token Creator` is not assigned
+ google.auth.exceptions.TransportError: Raised if there is an underlying
+ HTTP connection error
+ google.auth.exceptions.RefreshError: Raised if the impersonated
+ credentials are not available. Common reasons are
+ `iamcredentials.googleapis.com` is not enabled or the
+ `Service Account Token Creator` is not assigned
"""
iam_endpoint = _IAM_ENDPOINT.format(principal)