Skip to content

happypdf / ExceededMaxLengthError

Class: ExceededMaxLengthError ​

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

Extends ​

  • Error

Constructors ​

Constructor ​

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

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

Parameters ​

ParameterType
textLengthnumber
maxLengthnumber
namestring

Returns ​

ExceededMaxLengthError

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.