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

Class PrompterInterruptExceptionHandler

awscli/errorhandler.py:382–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380
381
382class PrompterInterruptExceptionHandler(InterruptExceptionHandler):
383 EXCEPTIONS_TO_HANDLE = PrompterKeyboardInterrupt
384
385 def _do_handle_exception(self, exception, stdout, stderr, **kwargs):
386 stderr.write(f'{exception}')
387 stderr.write("\n")
388 return self.RC
389
390
391class GeneralExceptionHandler(FilteredExceptionHandler):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected