document.getElementById() with no args throws. What should the message start with? "Document.getElementById requires ..."? "Document.prototype.getElementById requires ..."? "Document's getElementById requires ..."? "Document#getElementById requires ..."? Something else?
Matching the what other errors? That specific "Failed to execute X on Y" style is only used by Chrome, and is explicitly _not_ something I want to emulate: it's too verbose and hides the actual error too much behind the wall of text at the front.