{ } Raw JSON

bundles / IPython 9.17.0 / IPython / core / ultratb / ListTB / get_exception_only

function

IPython.core.ultratb:ListTB.get_exception_only

source: /dev/ipython/IPython/core/ultratb.py:412

Signature

def get_exception_only(self, etype, value)

Summary

Only print the exception type and message, without a traceback.

Parameters

etype : exception type
value : exception value

Aliases

  • IPython.core.ultratb.ListTB.get_exception_only