0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/docs/api/puppeteer.customerror._constructor_.md
2022-07-05 15:41:43 +02:00

367 B

sidebar_label
CustomError.(constructor)

CustomError.(constructor)

Constructs a new instance of the CustomError class

Signature:

class CustomError {
  constructor(message?: string);
}

Parameters

Parameter Type Description
message string (Optional)