W3C home > Mailing lists > Public > public-geolocation@w3.org > October 2008

RE: PositionError Requests

From: Chris Butler <cbutler@dash.net>
Date: Wed, 29 Oct 2008 09:06:47 -0700
Message-ID: <0AE22AEC018BB545AF73E857508212C949FCCE@ex-be1.dash.net>
To: "Andrei Popescu" <andreip@google.com>, "Greg Bolsinga" <bolsinga@apple.com>, <olli@pettay.fi>
Cc: <public-geolocation@w3.org>

Hi everyone.

One thought for future expansion: what about separating classifications
of errors by 10s or 100s (in the case of HTTP)?

Right now, there seems to be about three camps:

* Not available - NOT_FOUND and maybe TIMEOUT
* Permission - PERMISSION_ERROR
* Unrecoverable error - PROVIDER_ERROR and UNKNOWN

Thougths?

Thanks.

Chris 

-----Original Message-----
From: public-geolocation-request@w3.org
[mailto:public-geolocation-request@w3.org] On Behalf Of Andrei Popescu
Sent: Wednesday, October 29, 2008 6:35 AM
To: Greg Bolsinga; olli@pettay.fi
Cc: public-geolocation@w3.org
Subject: Re: PositionError Requests


On Wed, Oct 29, 2008 at 1:33 PM, Andrei Popescu <andreip@google.com>
wrote:
> interface PositionError {
>    const unsigned short PERMISSION_ERROR = 1;
>    const unsigned short PROVIDER_ERROR = 2;
>    const unsigned short NOT_FOUND = 3;
>    const unsigned short TIMEOUT = 4;
>    const unsigned short UNKNOWN = 5;
>    readonly int code;

'code' would be unsigned short, as well.

Andrei
Received on Wednesday, 29 October 2008 16:07:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:52 UTC