code: def __init__(self, cause, msg=None):
      super(QueryParserError, self).__init__(str(cause))
      self.cause = cause
  
imports: import sys
label_desc: Use image node_id 1 to create a new QueryParserError object from inherited base classes: Exception with example: obj = QueryParserError(cause, msg)