Lines Matching refs:cause
1257 "\nThe above exception was the direct cause "
1352 # When both a cause and a context are set, only the cause should be
1626 f'The above exception was the direct cause of the following exception:\n'
2410 cause = Exception("cause")
2411 raise Exception("uh oh") from cause
2417 exc_cause = traceback.TracebackException(Exception, cause, None)
2475 cause = Exception("cause")
2476 raise Exception("uh oh") from cause
2482 exc_cause = traceback.TracebackException(Exception, cause, None)