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 : Tuesday, 11 August 2009 20:54:08 GMT