Add throw error on DOMElement.