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

Class UnknownArgumentErrorHandler

awscli/errorhandler.py:362–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360
361
362class UnknownArgumentErrorHandler(FilteredExceptionHandler):
363 EXCEPTIONS_TO_HANDLE = UnknownArgumentError
364 RC = PARAM_VALIDATION_ERROR_RC
365
366 def _do_handle_exception(self, exception, stdout, stderr, **kwargs):
367 stderr.write("\n")
368 stderr.write(f'usage: {USAGE}\n')
369 write_error(stderr, str(exception))
370 return self.RC
371
372
373class InterruptExceptionHandler(FilteredExceptionHandler):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected