• Captures an exception event and sends it to Sentry.

    Parameters

    • exception: any

      An exception-like object.

    • Optional captureContext: CaptureContext

      Additional scope data to apply to exception event.

    Returns ReturnType<AWSLambda.Hub["captureException"]>

    The generated eventId.

Generated using TypeDoc