code

var code: Int

The error code.

MDN Reference

The following values are supported:

  • 1: Permission denied

  • 2: Position unavailable

  • 3: Timeout