Class AuthenticationError
Error class for authentication errors
Inherited Members
Namespace: PnP.Core
Assembly: PnP.Core.dll
Syntax
public class AuthenticationError : BaseError
Constructors
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 string |
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 JsonElement |
Properties
Code
CorrelationId
ErrorCodes
List of returned error codes
Declaration
public List<long> ErrorCodes { get; }
Property Value
| List<long> |
Message
TimeStamp
TraceId
Methods
ToString()
Outputs a AuthenticationError to a string representation
Declaration
public override string ToString()
Returns
|
string
String representation |