Class AuthenticationError
Error class for authentication errors
public class AuthenticationError : BaseError
- Inheritance
-
AuthenticationError
- Inherited Members
Constructors
AuthenticationError(ErrorType, string)
Constructs an AuthenticationError instance
public AuthenticationError(ErrorType type, string error)
Parameters
AuthenticationError(ErrorType, JsonElement)
Constructs an AuthenticationError instance
public AuthenticationError(ErrorType type, JsonElement error)
Parameters
typeErrorTypeType of the error
errorJsonElementError content as JsonElement
Properties
Code
Error code
public string Code { get; }
Property Value
CorrelationId
Correlation id
public Guid CorrelationId { get; }
Property Value
ErrorCodes
List of returned error codes
public List<long> ErrorCodes { get; }
Property Value
Message
Error message
public string Message { get; }
Property Value
TimeStamp
Time the error happened
public string TimeStamp { get; }
Property Value
TraceId
Trace id
public Guid TraceId { get; }
Property Value
Methods
ToString()
Outputs a AuthenticationError to a string representation
public override string ToString()
Returns
- string
String representation