Skip to content

happypdf / MissingPDFHeaderError

Class: MissingPDFHeaderError ​

Defined in: src/core/errors.ts:210

Extends ​

Constructors ​

Constructor ​

ts
new MissingPDFHeaderError(pos): MissingPDFHeaderError;

Defined in: src/core/errors.ts:211

Parameters ​

ParameterType
posPosition

Returns ​

MissingPDFHeaderError

Overrides ​

PDFParsingError.constructor

Properties ​

cause? ​

ts
optional cause?: unknown;

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

Inherited from ​

PDFParsingError.cause


message ​

ts
message: string;

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

Inherited from ​

PDFParsingError.message


name ​

ts
name: string;

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

Inherited from ​

PDFParsingError.name


stack? ​

ts
optional stack?: string;

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

Inherited from ​

PDFParsingError.stack

MIT Licensed. A fork of pdf-lib.