RE: PositionError Requests

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