Skip to content

happypdf / InvalidMaxLengthError

Class: InvalidMaxLengthError ​

Defined in: src/api/errors.ts:104

Extends ​

  • Error

Constructors ​

Constructor ​

ts
new InvalidMaxLengthError(
   textLength, 
   maxLength, 
   name): InvalidMaxLengthError;

Defined in: src/api/errors.ts:105

Parameters ​

ParameterType
textLengthnumber
maxLengthnumber
namestring

Returns ​

InvalidMaxLengthError

Overrides ​

ts
Error.constructor

Properties ​

cause? ​

ts
optional cause?: unknown;

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

Inherited from ​

ts
Error.cause

message ​

ts
message: string;

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

Inherited from ​

ts
Error.message

name ​

ts
name: string;

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

Inherited from ​

ts
Error.name

stack? ​

ts
optional stack?: string;

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

Inherited from ​

ts
Error.stack

MIT Licensed. A fork of pdf-lib.