
This cl creates GoogleServiceAuthError inside AuthException instead of just keeping a boolean isTransient signal. It also encapsulates the logic behind creating this error instead of letting clients specify its type (which was the case before). All clients that depended on AuthException.isTransientError has been refactored to take GoogleServiceAuthError instead. Bug: 404745044 Change-Id: I6fc4de5f83048d306d67e1ae61dbb58ae8920d9b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6402393 Reviewed-by: Boris Sazonov <bsazonov@chromium.org> Commit-Queue: Tanmoy Mollik <triploblastic@google.com> Cr-Commit-Position: refs/heads/main@{#1444080}