Skip to main content

convert_error

Function convert_error 

Source
fn convert_error(error: Error) -> GeolocationError
Expand description

Translate a D-Bus failure into the closest GeolocationPositionError code, matching the mapping Firefox uses in GeoclueLocationProvider::DBusProxyError.