MsalException.ErrorCode Property

Definition

Gets the protocol error code returned by the service or generated by the client. This is the code you can rely on for exception handling. Values for this code are typically provided in constant strings in the derived exceptions types with explanations of mitigation.

public string ErrorCode { get; }
member this.ErrorCode : string
Public ReadOnly Property ErrorCode As String

Property Value

Applies to