MCPcopy Index your code
hub / github.com/aws/aws-cli / _extract_error_info

Method _extract_error_info

awscli/errorhandler.py:279–283  ·  view source on GitHub ↗
(self, exception)

Source from the content-addressed store, hash-verified

277 return str(exception)
278
279 def _extract_error_info(self, exception):
280 error_response = self._extract_error_response(exception)
281 if error_response and 'Error' in error_response:
282 return error_response['Error']
283 return None
284
285 @staticmethod
286 def _extract_error_response(exception):

Callers 1

_do_handle_exceptionMethod · 0.95

Calls 1

Tested by

no test coverage detected