• Sentry tRPC middleware that names the handling transaction after the called procedure.

    Use the Sentry tRPC middleware in combination with the Sentry server integration, e.g. Express Request Handlers or Next.js SDK.

    Parameters

    • Optional options: SentryTrpcMiddlewareOptions

    Returns (<T>({ path, type, next, rawInput }) => T)

      • <T>({ path, type, next, rawInput }): T
      • Type Parameters

        • T

        Parameters

        • { path, type, next, rawInput }: TrpcMiddlewareArguments<T>

        Returns T

Generated using TypeDoc