Initializes a new instance of the TomlException class.
public TomlException(DiagnosticsBag diagnostics)
The diagnostics that caused the exception.