Create DiagnosticData for a given diagnostic code. The result can be put into the data field of a DiagnosticInfo.
data
Create DiagnosticData for a given diagnostic code. The result can be put into the
data
field of a DiagnosticInfo.