Re: [mediacapture-main] ErrorEvent error attribute too limiting for the errors we use

TIL that Error *does* in fact [have a name 
field](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/name#Throwing_a_custom_error),
 just not a constructor for it. Who knew?

Even so, by going with the html one, we can throw whatever, be it 
`Error`, `TypeError` etc. or `DOMException`, we're not limited.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/336#issuecomment-204619689
 using your GitHub account

Received on Saturday, 2 April 2016 00:53:50 UTC