class_docstr: OutcomeException and its subclass instances indicate and
  contain info about test and collection outcomes.
class_docstr_tok: ["OutcomeException","and","its","subclass","instances","indicate","and","contain","info","about","test","and","collection","outcomes","."]
code: def __init__(self, msg=None, pytrace=True):
      BaseException.__init__(self, msg)
      self.msg = msg
      self.pytrace = pytrace
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  from packaging.version import Version
label_desc: Use image node_id 1 to create a new OutcomeException object from inherited base classes: BaseException with example: obj = OutcomeException(msg, pytrace)