Skip to main content
Version: 10.1.0

puppeteer.customerror._constructor_

Home > puppeteer > CustomError > (constructor)

CustomError.(constructor)#

Constructs a new instance of the CustomError class

Signature:
constructor(message: string);

Parameters#

ParameterTypeDescription
messagestring