Danijel Martinek aac37fd9af docs(core-shared): correct defineErrorMiddleware jsdoc to match implementation
Code-quality reviewer flagged a stale 'try/catch' phrase in the jsdoc
that didn't match the actual result.ok inspection pattern. Updated
description to accurately describe how tRPC v11 middleware sees errors
(returned result, not thrown exception) and how the middleware
discriminates and rethrows.

Pure docstring change — no behavioral or signature impact.
2026-05-06 11:54:51 +02:00
Description
No description provided
24 MiB
Languages
TypeScript 65.6%
JavaScript 21.1%
Handlebars 12.2%
Shell 0.9%
Dockerfile 0.1%