(self, cause)
| 542 | return chained_evalue.__class__, chained_evalue, chained_evalue.__traceback__ |
| 543 | |
| 544 | def prepare_chained_exception_message(self, cause): |
| 545 | direct_cause = "\nThe above exception was the direct cause of the following exception:\n" |
| 546 | exception_during_handling = "\nDuring handling of the above exception, another exception occurred:\n" |
| 547 | |
| 548 | if cause: |
| 549 | message = [[direct_cause]] |
| 550 | else: |
| 551 | message = [[exception_during_handling]] |
| 552 | return message |
| 553 | |
| 554 | def set_colors(self, *args, **kw): |
| 555 | """Shorthand access to the color table scheme selector method.""" |
no outgoing calls
no test coverage detected