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
messagestringMessage.
PageErrorEventArgs(string, object)
Initializes a new instance of the PageErrorEventArgs class.
public PageErrorEventArgs(string message, object error)
Parameters
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
Message
Error Message.
public string Message { get; set; }
Property Value
- string
The message.