Microsoft.Identity.Client.MsalServiceException
Exception type thrown when service returns an error response or other networking errors occur.
For more details, see https://aka.ms/msal-net-exceptions
namespace Microsoft.Identity.Client
{
public class MsalServiceException : MsalException
{
public int StatusCode { get; }
public string Claims { get; }
public string ResponseBody { get; set; }
public HttpResponseHeaders Headers { get; set; }
public string SubErrorForLogging { get; }
public IReadOnlyList<string> ErrorCodesForLogging { get; }
public MsalServiceException(string errorCode, string errorMessage);
public MsalServiceException(string errorCode, string errorMessage, int statusCode);
public MsalServiceException(string errorCode, string errorMessage, Exception innerException);
public MsalServiceException(string errorCode, string errorMessage, int statusCode, Exception innerException);
public MsalServiceException(string errorCode, string errorMessage, int statusCode, string claims, Exception innerException);
protected virtual void UpdateIsRetryable();
}
}