| 137 | |
| 138 | |
| 139 | class 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 | |
| 149 | def stderr_to_parser_error(parse_args, *args, **kwargs): |
no outgoing calls