docstr: %exit_raise Make the current embedded kernel exit and raise and exception.
  
  This function sets an internal flag so that an embedded IPython will
  raise a `IPython.terminal.embed.KillEmbeded` Exception on exit, and then exit the current I. This is
  useful to permanently exit a loop that create IPython embed instance.
docstr_tok: ["%","exit_raise","Make","the","current","embedded","kernel","exit","and","raise","and","exception",".","This","function","sets","an","internal","flag","so","that","an","embedded","IPython","will","raise","a","`","IPython.terminal.embed.KillEmbeded","`","Exception","on","exit",",","and","then","exit","the","current","I",".","This","is","useful","to","permanently","exit","a","loop","that","create","IPython","embed","instance","."]
code: def exit_raise(self, parameter_s=""):
      """%exit_raise Make the current embedded kernel exit and raise and exception.
  
      This function sets an internal flag so that an embedded IPython will
      raise a `IPython.terminal.embed.KillEmbeded` Exception on exit, and then exit the current I. This is
      useful to permanently exit a loop that create IPython embed instance.
      """
  
      self.shell.should_raise = True
      self.shell.ask_exit()
  
imports: from __future__ import with_statement
  from __future__ import print_function
  import sys
  import warnings
  from IPython.core import ultratb, compilerop
  from IPython.core import magic_arguments
  from IPython.core.magic import Magics, magics_class, line_magic
  from IPython.core.interactiveshell import DummyMod, InteractiveShell
  from IPython.terminal.interactiveshell import TerminalInteractiveShell
  from IPython.terminal.ipapp import load_default_config
  from traitlets import Bool, CBool, Unicode
  from IPython.utils.io import ask_yes_no
label_desc: Use image node_id 2 for calling the EmbeddedMagics obj's underlying member method code with example usage: obj.exit_raise(parameter_s) without return types