MCPcopy Index your code
hub / github.com/reactive-python/reactpy / BadChild

Function BadChild

src/py/reactpy/tests/test_core/test_layout.py:172–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170
171 @reactpy.component
172 def BadChild():
173 msg = "error from bad child"
174 raise ValueError(msg)
175
176 with assert_reactpy_did_log(match_error="error from bad child"):
177 async with reactpy.Layout(Main()) as layout:

Callers 1

MainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected