[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Error/message [Back]  [Original]

Error: message - JavaScript | MDN

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

Error: message

Baseline Widely available

This feature is well established and works across many devices and browser versions. Its been available across browsers since 2015 7.

Error message .

In this article

Error() .

Property attributes of Error: message

. name message Error.prototype.toString() .

message , Error .

js
var e = new Error("Could not parse input");
// e.message is 'Could not parse input'
throw e;

Specification
ECMAScript 2027 LanguageSpecification
# sec-error.prototype.message


Web Proxy Viewer  |  New URL  |  Original Page