Skip to content

happypdf / UnexpectedFieldTypeError

Class: UnexpectedFieldTypeError ​

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

Extends ​

  • Error

Constructors ​

Constructor ​

ts
new UnexpectedFieldTypeError(
   name, 
   expected, 
   actual): UnexpectedFieldTypeError;

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

Parameters ​

ParameterType
namestring
expectedany
actualany

Returns ​

UnexpectedFieldTypeError

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.