Module Geolocation.Error

Position errors.

Codes

type code = int

The type for error code values.

val permission_denied : code
val position_unavailable : code
val timeout : code

Errors

type t

The type for GelocationPositionError objects.

val code : t -> code

code e is the error code of e.

val message : t -> Jstr.t

message e is a human readable error message. For programmers, not for end users.