Skip to main content

BrowserWindowClosedError

Thrown when you’re trying to take a screenshot of a browser window that’s already been closed.

Learn more

Hierarchy

  • LogicError
    • BrowserWindowClosedError

Index

Constructors

constructor

Properties

externalname

name: string

externalmessage

message: string

externaloptionalstack

stack?: string

optionalreadonlycause

cause?: Error

Methods

toString

  • toString(): string
  • Human-readable description of the error


    Returns string

toJSON

  • toJSON(): object
  • Returns object