(self, etype, value, tb, tb_offset=None)
| 1876 | raise TypeError("The custom exceptions must be given as a tuple.") |
| 1877 | |
| 1878 | def dummy_handler(self, etype, value, tb, tb_offset=None): |
| 1879 | print('*** Simple custom exception handler ***') |
| 1880 | print('Exception type :', etype) |
| 1881 | print('Exception value:', value) |
| 1882 | print('Traceback :', tb) |
| 1883 | |
| 1884 | def validate_stb(stb): |
| 1885 | """validate structured traceback return type |
nothing calls this directly
no outgoing calls
no test coverage detected