Namespace DocWright.Core.Diagnostics
Classes
- CollectingConversionDiagnostics
A thread-safe IConversionDiagnostics that collects every reported diagnostic in order, for inspection after the conversion completes.
- DiagnosticCodes
The stable, machine-readable diagnostic codes DocWright emits. Codes are grouped by thousands: DXP0xxx pipeline, DXP1xxx document structure, DXP2xxx unsupported content, DXP3xxx fonts, DXP4xxx resource limits, DXP5xxx field evaluation, DXP6xxx encryption, protection and signatures, DXP7xxx output conformance, DXP8xxx PDF import and page assembly, DXP9xxx report definitions and report processing. Codes are append-only: a published code is never renumbered or reused — DXP2005 and DXP2006 start where they do because DXP2004 was already allocated, not because 2004 is reserved.
- NullConversionDiagnostics
An IConversionDiagnostics that discards every diagnostic. Used when the caller supplies no sink.
Structs
- ConversionDiagnostic
A single structured diagnostic emitted during a conversion. Diagnostics carry a stable machine-readable code (see DiagnosticCodes), a severity, a human-readable message and an optional source location (package part and element path).
Interfaces
- IConversionDiagnostics
Receives structured diagnostics during a conversion. DocWright has no logging-framework dependency; hosts adapt this interface to their own logging.
Enums
- DiagnosticSeverity
The severity of a ConversionDiagnostic.