• Wrap code within a try/catch block so the SDK is able to capture errors.

    Parameters

    • fn: ((...args) => any)

      A function to wrap.

        • (...args): any
        • Parameters

          • Rest ...args: any

          Returns any

    Returns any

    The result of wrapped function call.

Generated using TypeDoc