W3C home > Mailing lists > Public > public-media-capture@w3.org > October 2014

Re: Fwd: [Bug 23367] Move exceptions into IDL

From: Harald Alvestrand <harald@alvestrand.no>
Date: Sun, 05 Oct 2014 10:28:37 +0200
Message-ID: <54310135.4000009@alvestrand.no>
To: public-media-capture@w3.org
On 10/04/2014 08:19 AM, Anne van Kesteren wrote:
> # interface MediaStreamError  : Error
>
> Is not valid IDL. You can't mint your own exceptions. Only IDL is in
> charge of exceptions.
>
>
Thus, I withdraw my proposal.

Thanks for telling us about Yet Another Rule. If you can point at the
part of the spec that says this, I'll be even happier; I missed that
claim when reading the diff and the spec.

So what's the proper form for saying "there exists an object that can
turn up in the failure callback, and it may have a field called
"constraint"?

File a bug against WebIDL?

-- 
Surveillance is pervasive. Go Dark.
Received on Sunday, 5 October 2014 08:29:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:30 UTC