Initializes a new instance of the DiagnosticException class with an unspecified diagnostic.
public DiagnosticException(string? message, Exception? innerException)
The message.
The exception that caused this one.