Only print the exception type and message, without a traceback. Parameters ---------- etype : exception type value : exception value
(self, etype, value)
| 813 | return list |
| 814 | |
| 815 | def get_exception_only(self, etype, value): |
| 816 | """Only print the exception type and message, without a traceback. |
| 817 | |
| 818 | Parameters |
| 819 | ---------- |
| 820 | etype : exception type |
| 821 | value : exception value |
| 822 | """ |
| 823 | return ListTB.structured_traceback(self, etype, value) |
| 824 | |
| 825 | def show_exception_only(self, etype, evalue): |
| 826 | """Only print the exception type and message, without a traceback. |