code: def handler(self, msg, data):
      if data != ARG:
          raise Exception(
              "Error handler did not receive correct argument"
          )
      self.errors.append(msg)
  
imports: import libxml2
  import sys
label_desc: Use image node_id 2 for calling the ErrorHandler obj's underlying member method code with example usage: obj.handler(msg, data) without return types