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

Class ParamValidationErrorsHandler

awscli/errorhandler.py:236–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234
235
236class ParamValidationErrorsHandler(FilteredExceptionHandler):
237 EXCEPTIONS_TO_HANDLE = (
238 ParamError,
239 ParamSyntaxError,
240 ArgParseException,
241 ParamValidationError,
242 BotocoreParamValidationError,
243 )
244 RC = PARAM_VALIDATION_ERROR_RC
245
246 def _extract_error_info(self, exception):
247 return {'Code': 'ParamValidation', 'Message': str(exception)}
248
249
250class SilenceParamValidationMsgErrorHandler(ParamValidationErrorsHandler):

Calls

no outgoing calls

Tested by

no test coverage detected