Table of Contents

Class ErrorEvent

Namespace
AngleSharp.Dom.Events
Assembly
AngleSharp.dll

Represents the error event arguments.

[DomName("ErrorEvent")]
public class ErrorEvent : Event
Inheritance
ErrorEvent
Inherited Members
Extension Methods

Constructors

ErrorEvent()

public ErrorEvent()

Properties

Column

Gets the column number of the error.

[DomName("colno")]
public int Column { get; }

Property Value

int

Error

Gets the exception describing the error.

[DomName("error")]
public Exception Error { get; }

Property Value

Exception

FileName

Gets the filename where the error occurred.

[DomName("filename")]
public string FileName { get; }

Property Value

string

Line

Gets the line number of the error.

[DomName("lineno")]
public int Line { get; }

Property Value

int

Message

Gets the message describing the error.

[DomName("message")]
public string Message { get; }

Property Value

string

Methods

Init(string, int, int, Exception)

Initializes the error event.

public void Init(string filename, int line, int column, Exception error)

Parameters

filename string

The name of the file containing the error.

line int

The line within the file.

column int

The column within the line,.

error Exception

The specific error that was thrown.