ErrorEventInit Class

https://html.spec.whatwg.org/multipage/webappapis.html#erroreventinit

public sealed class ErrorEventInit : EventInit
Inheritance
EventInit ErrorEventInit

Constructors

NameDescription
ErrorEventInit()

ErrorEventInit()

HtmlEvents.cs
public ErrorEventInit()

No documentation is available.

Properties

NameDescription
ColnoGets the column number at which the error occurred.
ErrorGets the thrown value that caused the error.
FilenameGets the URL of the script in which the error occurred.
LinenoGets the line number at which the error occurred.
MessageGets the error message.

Gets the column number at which the error occurred.

public uint Colno { get; init; }

Gets the thrown value that caused the error.

public object? Error { get; init; }

Gets the URL of the script in which the error occurred.

public string Filename { get; init; }

Gets the line number at which the error occurred.

public uint Lineno { get; init; }

Gets the error message.

public string Message { get; init; }