GeolocationPositionError: code property - Web APIs | MDN
The code read-only property of the GeolocationPositionError interface is an unsigned short representing the error code.