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;
}
Index
Properties
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
Was this helpful?
The
GeolocationPositionErrorinterface represents the reason of an error occurring when using the geolocating device.MDN Reference