MCPcopy Index your code
hub / github.com/RustPython/RustPython / raiser

Function raiser

Lib/test/test_concurrent_futures/executor.py:27–28  ·  view source on GitHub ↗
(exception, msg='std')

Source from the content-addressed store, hash-verified

25
26# Used in test_swallows_falsey_exceptions
27def raiser(exception, msg='std'):
28 raise exception(msg)
29
30
31class FalseyBoolException(Exception):

Callers

nothing calls this directly

Calls 1

exceptionFunction · 0.50

Tested by

no test coverage detected