MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

PositionError.message

PositionError.message 是一個可讀的 DOMString 來描述錯誤的詳細訊息。

語法

msg = positionError.message

規格

Specification Status Comment
Geolocation API
The definition of 'PositionError.message' in that specification.
Recommendation Initial definition

瀏覽器的相容性

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 5 3.5 (1.9.1) 9 10.60
No support 15.0
16.0
5
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? 4.0 (4) ? 10.60 ?

請參考

文件標籤與貢獻者

 此頁面的貢獻者: alphan_chen, yachiehwu
 最近更新: alphan_chen,