class_docstr: An ArgumentParser tweaked for use by IPython magics.
      
docstr: Raise a catchable error instead of exiting.
          
docstr_tok: ["Raise","a","catchable","error","instead","of","exiting","."]
code: def error(self, message):
      """Raise a catchable error instead of exiting."""
      raise UsageError(message)
  
imports: import argparse
  import re
  from IPython.core.error import UsageError
  from IPython.utils.decorators import undoc
  from IPython.utils.process import arg_split
  from IPython.utils.text import dedent
label_desc: Use image node_id 2 for calling the MagicArgumentParser obj's underlying member method code with example usage: obj.error(message) without return types