Skip to content

@shbernal/ts-pptx


@shbernal/ts-pptx / index / InternalErrorCode

Type Alias: InternalErrorCode

InternalErrorCode = "layout/default-not-registered" | "slide/rel-index-out-of-range" | "import/part-went-missing" | "animation/timing-scaffold-failed" | "oxml/node-has-no-document" | "oxml/node-has-no-parent"

Defined in: src/codes.ts:358

Conditions carried by InternalError: an invariant the library maintains itself did not hold. Reaching one is a bug in ts-pptx, not something a consumer can fix by changing their input — which is exactly why it is worth being able to tell apart from the four classes above.