ErrorEvent Class
https://html.spec.whatwg.org/multipage/webappapis.html#errorevent
public sealed class ErrorEvent : Event- Inheritance
EventErrorEvent
Constructors
| Name | Description |
|---|---|
| ErrorEvent(string, ErrorEventInit?) | Creates an error event with the given type and initialization dictionary. |
ErrorEvent(string, ErrorEventInit?)
HtmlEvents.csCreates an error event with the given type and initialization dictionary.
public ErrorEvent(string type, ErrorEventInit? eventInitDict = null)Properties
| Name | Description |
|---|---|
| Colno | Gets the column number at which the error occurred. |
| Error | Gets the thrown value that caused the error. |
| Filename | Gets the URL of the script in which the error occurred. |
| Lineno | Gets the line number at which the error occurred. |
| Message | Gets the error message. |
Colno
HtmlEvents.csError
HtmlEvents.csFilename
HtmlEvents.csGets the URL of the script in which the error occurred.
public string Filename { get; }