Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

ErrorEvent

이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 함께 해서 번역을 마치도록 도와 주세요!

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

Properties

Also inherits properties from its parent Event.

ErrorEvent.message Read only
Is a DOMString containing a human-readable error message describing the problem.
ErrorEvent.filename Read only
Is a DOMString containing the name of the script file in which the error occurred.
ErrorEvent.lineno Read only
Is an integer containing the line number of the script file on which the error occurred.
ErrorEvent.colno Read only
Is an integer containing the column number of the script file on which the error occurred.
ErrorEvent.error Read only
Is a JavaScript Object that is concerned by the event.

Constructor

ErrorEvent()
Creates an ErrorEvent event with the given parameters.

Methods

Inherits methods from its parent Event.

Specifications

Specification Status Comment
WHATWG HTML Living Standard
The definition of 'ErrorEvent' in that specification.
Living Standard Added the error propriety and the 5th parameter to the constructor.
HTML5
The definition of 'ErrorEvent' in that specification.
Recommendation Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) (Yes) ? (Yes) (Yes)
colno property and 4th argument to constructor (Yes) (Yes) ? ? ?
error property and 5th argument to constructor (Yes) (Yes) Not supported Not supported Not supported
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support (Yes) (Yes) ? (Yes) (Yes)
colno property and 4th argument to constructor ? Not supported ? ? ?
error property and 5th argument to constructor Not supported Not supported Not supported Not supported Not supported

See also

문서 태그 및 공헌자

태그: 
 이 페이지의 공헌자: fscholz, agentme, teoli
 최종 변경: fscholz,