Class DomException
- Namespace
- AngleSharp.Dom
- Assembly
- AngleSharp.dll
Represents a DOM exception.
public sealed class DomException : Exception, ISerializable, IDomException
- Inheritance
-
DomException
- Implements
- Inherited Members
- Extension Methods
Constructors
DomException(DomError)
Creates a new DOMException.
public DomException(DomError code)
Parameters
code
DomErrorThe error code.
DomException(string)
Creates a new DOMException with a custom message.
public DomException(string message)
Parameters
message
stringThe message to transport.
Properties
Code
Gets the error code for this exception.
public int Code { get; }
Property Value
Name
Gets the name of the error.
public string Name { get; }