UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

3 lines (2 loc) 379 B
export declare const ERROR_BOUNDARY_TEMPLATE = "const ErrorBoundary = () => {\n const error = useRouteError();\n captureRemixErrorBoundaryError(error);\n return <div>Something went wrong</div>;\n};\n"; export declare const HANDLE_ERROR_TEMPLATE = "const handleError = Sentry.wrapHandleErrorWithSentry((error, { request }) => {\n // Custom handleError implementation\n});\n";