Documents / @faasjs/ant-design / 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