no error type attribute in DOMError.