browser-sdk

Home > @datadog/browser-rum-react > ErrorBoundary > componentDidCatch

ErrorBoundary.componentDidCatch() method

Signature:

componentDidCatch(error: Error, errorInfo: ErrorInfo): void;

Parameters

Parameter Type Description
error Error
errorInfo ErrorInfo

Returns:

void