public record class PluginDiagnosticSomething the loader has to say about one plugin.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Returned rather than logged, and rather than thrown. Thrown, the first broken plugin in a folder of six stops the editor from starting; logged, it is a line in a file nobody reads while the user wonders why their toolbar is missing a button. As data it can be a notification, a row in a plugin panel, and a test's assertion — which is what the importers' ImportResult and the settings store's UnknownKeys already do.
Fields and properties (3)
public PluginSeverity SeverityHow much it matters.
public string PluginIdWhich plugin, or the folder's name when the manifest had no usable id.
public string MessageWhat happened, in the words a plugin author needs to fix it.
Methods (2)
public PluginDiagnostic(PluginSeverity Severity, string PluginId, string Message)Something the loader has to say about one plugin.
public override string ToString()Returns a string that represents the current object.
Used by (10)
- DiscoveryTestsVixen.Editor.Plugin.Tests
- EditorApplicationVixen.Editor.App
- LoadingTestsVixen.Editor.Plugin.Tests
- ModuleTestsVixen.Editor.Plugin.Tests
- OrderTestsVixen.Editor.Plugin.Tests
- PluginCatalogVixen.Editor.Plugin
- PluginDiscoveryVixen.Editor.Plugin
- PluginHostVixen.Editor.Plugin
- PluginOrderVixen.Editor.Plugin
- PluginReportVixen.Editor.Plugin