MCPcopy Index your code
hub / github.com/RustPython/RustPython / ArgumentParserError

Class ArgumentParserError

Lib/test/test_argparse.py:139–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137
138
139class ArgumentParserError(Exception):
140
141 def __init__(self, message, stdout=None, stderr=None, error_code=None):
142 Exception.__init__(self, message, stdout, stderr)
143 self.message = message
144 self.stdout = stdout
145 self.stderr = stderr
146 self.error_code = error_code
147
148
149def stderr_to_parser_error(parse_args, *args, **kwargs):

Callers 3

stderr_to_parser_errorFunction · 0.85
__call__Method · 0.85
__call__Method · 0.85

Calls

no outgoing calls

Tested by 3

stderr_to_parser_errorFunction · 0.68
__call__Method · 0.68
__call__Method · 0.68