(self, exception, stdout, stderr, **kwargs)
| 257 | RC = CLIENT_ERROR_RC |
| 258 | |
| 259 | def _do_handle_exception(self, exception, stdout, stderr, **kwargs): |
| 260 | parsed_globals = kwargs.get('parsed_globals') |
| 261 | error_info = self._extract_error_info(exception) |
| 262 | |
| 263 | if error_info: |
| 264 | formatted_message = self._get_formatted_message( |
| 265 | error_info, exception |
| 266 | ) |
| 267 | displayed_structured = self._display_structured_error( |
| 268 | error_info, formatted_message, stderr, parsed_globals |
| 269 | ) |
| 270 | if displayed_structured: |
| 271 | return self.RC |
| 272 | |
| 273 | write_error(stderr, str(exception)) |
| 274 | return self.RC |
| 275 | |
| 276 | def _get_formatted_message(self, error_info, exception): |
| 277 | return str(exception) |
nothing calls this directly
no test coverage detected