MCPcopy Index your code
hub / github.com/ipython/ipython / error

Method error

IPython/core/magic_arguments.py:159–162  ·  view source on GitHub ↗

Raise a catchable error instead of exiting.

(self, message)

Source from the content-addressed store, hash-verified

157 conflict_handler=conflict_handler, add_help=add_help)
158
159 def error(self, message):
160 """ Raise a catchable error instead of exiting.
161 """
162 raise UsageError(message)
163
164 def parse_argstring(self, argstring, *, partial=False):
165 """ Split a string into an argument list and parse that argument list.

Callers 11

error_catcherMethod · 0.80
do_exceptionsMethod · 0.80
do_longlistMethod · 0.80
do_whereMethod · 0.80
do_upMethod · 0.80
do_downMethod · 0.80
do_contextMethod · 0.80
__init__Method · 0.80
_ipython_dir_changedMethod · 0.80
catch_corrupt_dbFunction · 0.80
__init__Method · 0.80

Calls 1

UsageErrorClass · 0.90

Tested by

no test coverage detected