GeolocationPositionError.code read-only property is an
unsigned short representing the error code.
let typeErr = geolocationPositionErrorInstance.code
unsigned short representing the error code. The following values are possible:
||The acquisition of the geolocation information failed because the page didn't have the permission to do it.|
||The acquisition of the geolocation failed because one or several internal sources of position returned an internal error.|
||The time allowed to acquire the geolocation, defined by
The definition of 'PositionError.code' in that specification.
No compatibility data found. Please contribute data for "api.GeolocationPositionError.code" (depth: 1) to the MDN compatibility data repository.