TRPC004warningPro
trpc-missing-error-handling
tRPC mutation called without error handling.
Applies to: TypeScript
Why this matters
Mutations modify server state and can fail for many reasons (network, validation, authorization). Without error handling, failures are silent and the user gets no feedback. Use onError with useMutation or wrap .mutate() calls in try-catch.
Catch it before it ships
pip install stablestack # or: npx stablestackstablestack # scans your project, TRPC004 includedstablestack explain TRPC004TRPC004 is part of the Pro rule set. See pricing — the free tier ships 24 checks with no signup.
False positive in your codebase? Suppress a single line with # noqa: TRPC004