Skip to content

happypdf / NextByteAssertionError

Class: NextByteAssertionError

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

Extends

Constructors

Constructor

ts
new NextByteAssertionError(
   pos, 
   expectedByte, 
   actualByte): NextByteAssertionError;

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

Parameters

ParameterType
posPosition
expectedBytenumber
actualBytenumber

Returns

NextByteAssertionError

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.