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)
| 253 | |
| 254 | |
| 255 | def 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( |