Microsoft.IdentityModel.Tokens.Experimental.ValidationError
Represents an error that occurred during a SecurityToken validation.
Gets or sets the exception associated with the ValidationError.
Gets the type of validation failure that occurred.
Gets the inner exception that occurred.
Gets the message that contains details of the error.
Gets the stack frames where the exception occurred.
public static StackFrame GetCurrentStackFrame(string filePath = "", int lineNumber = 0, int skipFrames = 1)
Returns the stack frame corresponding to the file path and line number from which this method is called.
If there is no cache entry for the given file path and line number, a new stack frame is created and added to the cache.
Creates a new instance of ValidationError representing a null parameter.
public ValidationError AddCurrentStackFrame(string filePath = "", int lineNumber = 0, int skipFrames = 1)
Adds the current stack frame to the list of stack frames and returns the updated object.
If there is no cache entry for the given file path and line number, a new stack frame is created and added to the cache.
Adds a stack frame to the list of stack frames and returns the updated object.
Creates and returns instance of an Exception using FailureType