MCPcopy
hub / github.com/reflex-dev/reflex / default_error_boundary

Function default_error_boundary

reflex/app.py:255–269  ·  view source on GitHub ↗

Default error_boundary attribute for App. Args: *children: The children to render in the error boundary. **props: The props to pass to the error boundary. Returns: The default error_boundary, which is an ErrorBoundary.

(*children: Component, **props)

Source from the content-addressed store, hash-verified

253
254
255def default_error_boundary(*children: Component, **props) -> Component:
256 """Default error_boundary attribute for App.
257
258 Args:
259 *children: The children to render in the error boundary.
260 **props: The props to pass to the error boundary.
261
262 Returns:
263 The default error_boundary, which is an ErrorBoundary.
264
265 """
266 return ErrorBoundary.create(
267 *children,
268 **props,
269 )
270
271
272@dataclasses.dataclass(

Callers 1

AppClass · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected