Sentry
Sentry: { captureException: (exception: any, captureContext?: CaptureContext) => ReturnType<Hub["captureException"]>; init: (formsAppId: number, options: BrowserOptions) => void; setTag: (key: string, value: Primitive) => ReturnType<Hub["setTag"]> }
Type declaration
captureException: (exception: any, captureContext?: CaptureContext) => ReturnType<Hub["captureException"]>
- (exception: any, captureContext?: CaptureContext): ReturnType<Hub["captureException"]>
Parameters
exception: any
Optional captureContext: CaptureContext
Returns ReturnType<Hub["captureException"]>
init: (formsAppId: number, options: BrowserOptions) => void
- (formsAppId: number, options: BrowserOptions): void
Parameters
formsAppId: number
options: BrowserOptions
Returns void
setTag: (key: string, value: Primitive) => ReturnType<Hub["setTag"]>
- (key: string, value: Primitive): ReturnType<Hub["setTag"]>
Parameters
key: string
value: Primitive
Returns ReturnType<Hub["setTag"]>
Captures an exception event and sends it to Sentry.