Skip to content

Class PluginDiagnosticCodes

Namespace: DotBoxD.Plugins.Runtime.Diagnostics
Assembly: DotBoxD.Plugins.dll

Public, maintained reference for the runtime DBXK* diagnostic codes emitted by the DotBoxD.Plugins package during plugin-package install, prepared-package validation, runtime kernel entrypoint checks, and live-setting validation.

public static class PluginDiagnosticCodes

objectPluginDiagnosticCodes

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

This is the runtime counterpart to the DotBoxD.Plugins.Analyzer analyzer-local DBXK reference: the analyzer documents compile-time SDK diagnostics, while this catalog documents the diagnostics a host or upload UI sees when an uploaded or generated package is rejected. Consumers can use DotBoxD.Plugins.Runtime.Diagnostics.PluginDiagnosticCodes.All / DotBoxD.Plugins.Runtime.Diagnostics.PluginDiagnosticCodes.TryGetReference(System.String,DotBoxD.Plugins.Runtime.Diagnostics.PluginDiagnosticReference@) to map an DBXK* code to its documented meaning, emitting phase, responsible audience, likely cause, and remediation instead of surfacing an opaque code.

The complete, maintained catalog of runtime plugin diagnostic codes. Every DBXK* code that the DotBoxD.Plugins runtime can emit has exactly one entry here.

public static IReadOnlyList<PluginDiagnosticReference> All { get; }

IReadOnlyList<PluginDiagnosticReference>

TryGetReference(string, out PluginDiagnosticReference)

Section titled “ TryGetReference(string, out PluginDiagnosticReference)”

Looks up the documented reference for a runtime plugin diagnostic code. Returns false for unknown codes; a host should treat an unknown code as a rejection signal rather than assuming the package is safe.

public static bool TryGetReference(string code, out PluginDiagnosticReference reference)

code string

reference PluginDiagnosticReference

bool