class_docstr: Abstract base class for DOM exceptions.
  Exceptions with specific codes are specializations of this class.
code: def _get_code(self):
      return self.code
  
imports: from .domreg import getDOMImplementation, registerDOMImplementation
label_desc: Use image node_id 2 for calling the DOMException obj's underlying member method code with example usage: obj._get_code() and returns: self