code: def __init__(self, pos, context, message, cause, stacktrace=None):
      if message:
          message = "\n" + message
      else:
          message = "\n"
      self.message_only = message
      if context:
          message = "Compiler crash in %s%s" % (context, message)
      if stacktrace:
          import traceback
  
          message += (
              "\n\nCompiler crash traceback from this point on:\n"
              + "".join(traceback.format_tb(stacktrace))
          )
      if cause:
          if not stacktrace:
              message += "\n"
          message += "%s: %s" % (cause.__class__.__name__, cause)
      CompileError.__init__(self, pos, message)
      # Python Exception subclass pickling is broken,
      # see http://bugs.python.org/issue1692335
      self.args = (pos, context, message, cause, stacktrace)
  
imports: from __future__ import absolute_import
  import sys
  from contextlib import contextmanager
  from ..Utils import open_new_file
  from .None import DebugFlags
  from .None import Options
label_desc: Use image node_id 1 to create a new CompilerCrash object from inherited base classes: CompileError with example: obj = CompilerCrash(pos, context, message, cause, stacktrace)