For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Interface GeolocationPositionError
interface GeolocationPositionError {
code: number;
message: string;
PERMISSION_DENIED: 1;
POSITION_UNAVAILABLE: 2;
TIMEOUT: 3;
}
code: number;
message: string;
PERMISSION_DENIED: 1;
POSITION_UNAVAILABLE: 2;
TIMEOUT: 3;
}
Properties
Readonlycode
code: number
The code read-only property of the GeolocationPositionError interface is an unsigned short representing the error code.
Readonlymessage
message: string
The message read-only property of the GeolocationPositionError interface returns a human-readable string describing the details of the error.
ReadonlyPERMISSION_DENIED
PERMISSION_DENIED: 1
ReadonlyPOSITION_UNAVAILABLE
POSITION_UNAVAILABLE: 2
ReadonlyTIMEOUT
TIMEOUT: 3
The
GeolocationPositionErrorinterface represents the reason of an error occurring when using the geolocating device.MDN Reference