MCPcopy Create free account
hub / github.com/ipython/ipython / dummy_handler

Method dummy_handler

IPython/core/interactiveshell.py:1878–1882  ·  view source on GitHub ↗
(self, etype, value, tb, tb_offset=None)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected