Appearance
@shbernal/ts-pptx / index / PackageReadErrorCode
Type Alias: PackageReadErrorCode
PackageReadErrorCode =
"zip/not-a-zip-archive"|"zip/file-read-failed"|"package/not-an-opc-package"|"package/content-types-invalid-root"|"package/content-types-entry-incomplete"|"package/part-content-type-missing"|"package/relationships-invalid-root"|"package/relationship-incomplete"|"package/relationship-invalid-target-mode"|"package/duplicate-relationship-id"|"package/relationship-target-escapes-root"|"package/relationship-target-missing"|"package/office-document-relationship-invalid"|"package/part-missing"|"package/part-has-no-root"|"slide/no-shape-tree"|"shape/no-non-visual-properties"|"table/cell-has-no-text-body"
Defined in: src/codes.ts:311
Conditions carried by PackageReadError: the bytes handed to the library are not a package it can read, or a part inside one is structurally malformed. Always about input, never about something the library is asked to produce.