Introduce a constructor for DOMError so it can be reused and used for polyfills.