Skip to content

@shbernal/ts-pptx


@shbernal/ts-pptx / index / TsPptxErrorOptions

Interface: TsPptxErrorOptions

Defined in: src/errors.ts:45

Extra context accepted by every TsPptxError constructor.

Extends

  • ErrorOptions

Properties

cause?

optional cause?: 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?

readonly optional detail?: 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.