Class AuthenticationError
Error class for authentication errors
Inherited Members
Namespace: PnP.Core
Assembly: PnP.Core.dll
Syntax
public class AuthenticationError : BaseError
Constructors
AuthenticationError(ErrorType, JsonElement)
Constructs an AuthenticationError instance
Declaration
public AuthenticationError(ErrorType type, JsonElement error)
Parameters
ErrorType
type
Type of the error |
JsonElement
error
Error content as |
AuthenticationError(ErrorType, String)
Constructs an AuthenticationError instance
Declaration
public AuthenticationError(ErrorType type, string error)
Parameters
ErrorType
type
Type of the error |
String
error
Error content as |
Properties
Code
CorrelationId
Correlation id
Declaration
public Guid CorrelationId { get; }
Property Value
Guid
|
ErrorCodes
List of returned error codes
Declaration
public List<long> ErrorCodes { get; }
Property Value
List<Int64>
|
Message
TimeStamp
TraceId
Trace id
Declaration
public Guid TraceId { get; }
Property Value
Guid
|
Methods
ToString()
Outputs a AuthenticationError to a string representation
Declaration
public override string ToString()
Returns
String
String representation |