MCPcopy
hub / github.com/sphinx-doc/sphinx / error

Method error

sphinx/_cli/__init__.py:168–171  ·  view source on GitHub ↗
(self, message: str)

Source from the content-addressed store, hash-verified

166 raise ValueError(msg)
167
168 def error(self, message: str) -> NoReturn:
169 msg = __("{0}: error: {1}\nRun '{0} --help' for information")
170 sys.stderr.write(msg.format(self.prog, message))
171 raise SystemExit(2)
172
173
174def _create_parser() -> _RootArgumentParser:

Callers 15

runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
_validate_filenamesFunction · 0.80
_parse_loggingFunction · 0.80
_parse_confoverridesFunction · 0.80
process_ifconfig_nodesFunction · 0.80
runMethod · 0.80
runMethod · 0.80

Calls 2

writeMethod · 0.45
formatMethod · 0.45

Tested by 3

test_info_and_warningFunction · 0.64
test_colored_logsFunction · 0.64
test_html_translatorFunction · 0.64