MCPcopy Create free account
hub / github.com/boostorg/build / _str_exc

Function _str_exc

v2/test/collect_debug_info.py:325–331  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

323
324
325def _str_exc():
326 exc_type, exc_value = sys.exc_info()[0:2]
327 if exc_type is None:
328 exc_type_name = "None"
329 else:
330 exc_type_name = exc_type.__name__
331 return "*** EXCEPTION *** %s - %s ***" % (exc_type_name, exc_value)
332
333
334###############################################################################

Callers 2

fFunction · 0.85
_info_excFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected