- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Wed, 8 May 2013 10:53:14 -0700
- To: Mounir Lamouri <mounir@lamouri.fr>
- Cc: "www-dom@w3.org" <www-dom@w3.org>
On Wed, May 8, 2013 at 10:49 AM, Mounir Lamouri <mounir@lamouri.fr> wrote: > Finally, as David Bruant suggested to me, I think it would be good to > advertise the error type in the IDL as much as the success type, like > "Future<Success, Error>", so developers don't have to guess what is > returned when an error occurs. This part makes sense for APIs defined by the platform, but for any other purpose errors should just match whatever you can do with throw today. -- http://annevankesteren.nl/
Received on Wednesday, 8 May 2013 17:53:44 UTC