Sorry, don't hate me but we are not longer using DOMError in the platform. See:
http://dom.spec.whatwg.org/#interface-domerror