Appearance
@shbernal/ts-pptx / index / TsPptxErrorOptions
Interface: TsPptxErrorOptions
Defined in: src/errors.ts:45
Extra context accepted by every TsPptxError constructor.
Extends
ErrorOptions
Properties
cause?
optionalcause?:unknown
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts:20
Inherited from
ErrorOptions.cause
detail?
readonlyoptionaldetail?:Readonly<Record<string,unknown>>
Defined in: src/errors.ts:50
Structured context for the condition, when a site has any to give. Mirrors Diagnostic.detail so the same condition looks the same whether it was warned or thrown.