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

Re: PositionError Requests

From: Doug Turner <doug.turner@gmail.com>
Date: Wed, 29 Oct 2008 09:14:08 -0700
Cc: "Andrei Popescu" <andreip@google.com>, "Greg Bolsinga" <bolsinga@apple.com>, <olli@pettay.fi>, <public-geolocation@w3.org>
Message-Id: <C45C5F41-691A-49B0-8A53-1EE93DEC387C@gmail.com>
To: "Chris Butler" <cbutler@dash.net>

Looking at the defs., i do not see much of a difference between  
PROVIDER_ERROR and NOT_FOUND (NOT_FOUND is just a special case of  
PROVIDER_ERROR).  Maybe we can roll these two together, and get  
something like:

PERMISSION_DENIED
UNKNOWN_ERROR
POSITION_UNAVAILABLE
TIMEOUT






On Oct 29, 2008, at 9:06 AM, Chris Butler wrote:

>
> 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:14:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 22 March 2012 18:13:40 GMT