Revise error types and usage #15687
Labels
Azure.Identity
blocking-release
Blocks release
Client
This issue points to a problem in the data-plane of the library.
feature-request
This issue requires a new behavior in the product in order be resolved.
Milestone
AuthenticationFailedError and CredentialUnavailableError would be more flexible as interfaces (see e.g. https://github.com/jhendrixMSFT/azure-sdk-for-go/blob/azidentity_msal/sdk/azidentity/errors.go).
These errors are also sometimes returned when a simple
errors.New()
would be better. For example, constructors often return CredentialUnavailableError.The text was updated successfully, but these errors were encountered: