Table of Contents

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 DomError

The error code.

DomException(string)

Creates a new DOMException with a custom message.

public DomException(string message)

Parameters

message string

The message to transport.

Properties

Code

Gets the error code for this exception.

public int Code { get; }

Property Value

int

Name

Gets the name of the error.

public string Name { get; }

Property Value

string