Appearance
@shbernal/ts-pptx / index / Diagnostic
Interface: Diagnostic
Defined in: src/diagnostics.ts:21
One diagnostic emitted by the library.
Properties
code
readonlycode:DiagnosticCode
Defined in: src/diagnostics.ts:23
Stable condition identifier — see DiagnosticCode. Branch on this, not on the text.
detail?
readonlyoptionaldetail?:Readonly<Record<string,unknown>>
Defined in: src/diagnostics.ts:30
Structured context for the condition, when a site has any to give. No site populates it today; it exists so one can start to without a breaking signature change.
message
readonlymessage:string
Defined in: src/diagnostics.ts:25
Human-readable explanation. Free to change in any release; do not parse it.