Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. ErrorEvent

ErrorEvent

Note: This feature is available inWeb Workers.

TheErrorEvent interface represents events providing information related to errors in scripts or in files.

Event ErrorEvent

Constructor

ErrorEvent()

Creates anErrorEvent event with the given parameters.

Instance properties

Also inherits properties from its parentEvent.

ErrorEvent.messageRead only

A string containing a human-readable error message describing the problem.

ErrorEvent.filenameRead only

A string containing the name of the script file in which the error occurred.

ErrorEvent.linenoRead only

An integer containing the line number of the script file on which the error occurred.

ErrorEvent.colnoRead only

An integer containing the column number of the script file on which the error occurred.

ErrorEvent.errorRead only

A JavaScript value, such as anError orDOMException, representing the error associated with this event.

Instance methods

Inherits methods from its parentEvent.

Specifications

Specification
HTML
# errorevent

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp