MCPcopy Create free account
hub / github.com/ipython/ipython / error

Method error

IPython/core/magic_arguments.py:127–130  ·  view source on GitHub ↗

Raise a catchable error instead of exiting.

(self, message)

Source from the content-addressed store, hash-verified

125 conflict_handler=conflict_handler, add_help=add_help)
126
127 def error(self, message):
128 """ Raise a catchable error instead of exiting.
129 """
130 raise UsageError(message)
131
132 def parse_argstring(self, argstring):
133 """ Split a string into an argument list and parse that argument list.

Callers 9

do_longlistMethod · 0.80
do_whereMethod · 0.80
do_upMethod · 0.80
do_downMethod · 0.80
__init__Method · 0.80
_ipython_dir_changedMethod · 0.80
catch_corrupt_dbFunction · 0.80
__init__Method · 0.80
ghissue_roleFunction · 0.80

Calls 1

UsageErrorClass · 0.90

Tested by

no test coverage detected