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 |
System.String
error
Error content as |
Properties
Code
Error code
Declaration
public string Code { get; }
Property Value
System.String
|
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<System.Int64>
|
Message
Error message
Declaration
public string Message { get; }
Property Value
System.String
|
TimeStamp
Time the error happened
Declaration
public string TimeStamp { get; }
Property Value
System.String
|
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
System.String
String representation |