GeolocationPositionError.message
安全なコンテキスト用: この機能は一部またはすべての対応しているブラウザーにおいて、安全なコンテキスト (HTTPS) でのみ利用できます。
GeolocationPositionError.message
は読み取り専用のプロパティで、エラーの詳細を説明する、人間が読める DOMString
を返します。
構文
let msg = geolocationPositionErrorInstance.message
値
エラーの詳細を説明する、人間が読める DOMString
です。
仕様書
Specification |
---|
Geolocation API # message-attribute |
ブラウザーの互換性
BCD tables only load in the browser