Table of Contents

Class PageErrorEventArgs

Namespace
PuppeteerSharp
Assembly
PuppeteerSharp.dll

Page error event arguments.

public class PageErrorEventArgs : EventArgs
Inheritance
PageErrorEventArgs

Constructors

PageErrorEventArgs(string)

Initializes a new instance of the PageErrorEventArgs class.

public PageErrorEventArgs(string message)

Parameters

message string

Message.

PageErrorEventArgs(string, object)

Initializes a new instance of the PageErrorEventArgs class.

public PageErrorEventArgs(string message, object error)

Parameters

message string

Message.

error object

Raw error value.

Properties

Error

Gets the raw error value. This can be an string for standard errors, or any other type (including null) when the page throws a primitive value.

public object Error { get; }

Property Value

object

Message

Error Message.

public string Message { get; set; }

Property Value

string

The message.