MCPcopy Create free account
hub / github.com/aws/aws-cli / UnexpectedWizardException

Class UnexpectedWizardException

awscli/customizations/wizard/exceptions.py:36–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35
36class UnexpectedWizardException(Exception):
37 MSG_FORMAT = (
38 'Encountered unexpected exception inside of wizard:\n\n'
39 'Traceback:\n{original_tb}'
40 '{original_exception_cls}: {original_exception}'
41 )
42
43 def __init__(self, original_exception):
44 self.original_exception = original_exception
45 message = self.MSG_FORMAT.format(
46 original_tb=''.join(format_tb(original_exception.__traceback__)),
47 original_exception_cls=self.original_exception.__class__.__name__,
48 original_exception=self.original_exception,
49 )
50 super().__init__(message)

Callers 1

_handle_exceptionMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected