Re: [presentation-api] Reuse DOMException or define PresentationError object for Presentation API specific rejection reasons

I believe we should reuse the `DOMException` types, if the API just 
needs a way to represents an error, with no additional data (such as 
in the `MediaStreamError`'s case, `constraintName`) beyond the 
optional `message` that can be used to convey user agent-defined human
 readable details of the error for debugging purposes.

For example, we could simply throw `NotSupportedError` in both the 
cases.

I'll tag this for F2F discussion, since this should be a relatively 
quick one.

-- 
GitHub Notif of comment by anssiko
See 
https://github.com/w3c/presentation-api/issues/78#issuecomment-96574771

Received on Monday, 27 April 2015 09:03:41 UTC