Table of Contents

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
Inheritance
PluginDiagnosticCodes
Inherited Members

Remarks

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 All / TryGetReference(string, out PluginDiagnosticReference) to map an DBXK* code to its documented meaning, emitting phase, responsible audience, likely cause, and remediation instead of surfacing an opaque code.

Properties

All

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; }

Property Value

IReadOnlyList<PluginDiagnosticReference>

Methods

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)

Parameters

code string
reference PluginDiagnosticReference

Returns

bool