packages/ant-design/interfaces/ErrorBoundaryProps.md
[@faasjs/ant-design](../README.md) / ErrorBoundaryProps
# Interface: ErrorBoundaryProps
## Properties
### children?
> `optional` **children**: `ReactNode`
### errorChildren?
> `optional` **errorChildren**: `ReactElement`\<`ErrorChildrenProps`, `string` \| `JSXElementConstructor`\<`any`\>\>
### onError()?
> `optional` **onError**: (`error`, `info`) => `void`
#### Parameters
• **error**: `Error`
• **info**: `any`
#### Returns
`void`