Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/aws-cli
/ shape_for_error_code
Method
shape_for_error_code
awscli/botocore/model.py:343–344 ·
view source on GitHub ↗
(self, error_code)
Source
from the content-addressed store, hash-verified
341
)
342
343
def
shape_for_error_code(self, error_code):
344
return
self._error_code_cache.get(error_code, None)
345
346
@CachedProperty
347
def
_error_code_cache(self):
Callers
4
test_output_compliance
Function · 0.95
test_shape_for_error_code
Method · 0.80
_make_api_call
Method · 0.80
_add_modeled_error_fields
Method · 0.80
Calls
no outgoing calls
Tested by
2
test_output_compliance
Function · 0.76
test_shape_for_error_code
Method · 0.64