DOMException.message

DOMException 接口的 message 只读属性返回一个字符串来表示与给定错误名称关联的消息或描述。

一个字符串。

规范

Specification
Web IDL Standard
# dom-domexception-message

浏览器兼容性

BCD tables only load in the browser