-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hey there,
trying to implement captureException from useBaselimeRum.
This hooks return type is
{
setUser: (userId?: string) => void;
sendEvent: (message: string, data?: any) => void;
config?: undefined;
_trackWebVital?: undefined;
captureException?: undefined; // undefined here
} | {
config: BaselimeRumConfig;
setUser: (userId?: string) => void;
_trackWebVital: (metric: any) => void;
captureException: (error: Error, info?: React$1.ErrorInfo) => Promise<void>;
sendEvent: (message: string, data?: any) => void;
}I'm curious to know in which context captureException would not be defined.
Metadata
Metadata
Assignees
Labels
No labels