Class NavigationException
- Namespace
- PuppeteerSharp
- Assembly
- PuppeteerSharp.dll
Exception thrown when a IPage fails to navigate an URL.
[Serializable]
public class NavigationException : PuppeteerException, ISerializable
- Inheritance
-
NavigationException
- Implements
Constructors
NavigationException()
Initializes a new instance of the NavigationException class.
public NavigationException()
NavigationException(string)
Initializes a new instance of the NavigationException class.
public NavigationException(string message)
Parameters
message
stringMessage.
NavigationException(string, Exception)
Initializes a new instance of the NavigationException class.
public NavigationException(string message, Exception innerException)
Parameters
NavigationException(string, string)
Initializes a new instance of the NavigationException class.
public NavigationException(string message, string url)
Parameters
Properties
Message
Gets a message that describes the current exception.
public override string Message { get; }
Property Value
- string
The error message that explains the reason for the exception, or an empty string ("").
Url
Url that caused the exception.
public string Url { get; }
Property Value
- string
The URL.