PrintError

PrintError

new PrintError(message, styles)

Constructs a new PrintError instance.

Description:
  • Constructs a new PrintError instance.

Source:
Parameters:
Name Type Description
message string | Error

The error message or an Error object.

styles string

The styles to apply to the error message.