(status: number, code: number, message: string)
| 59 | // INNER responses (no CORS) — byte-identical to the prior hand-rolled copy |
| 60 | // (`content-type: application/json` only) via the canonical renderer. |
| 61 | const jsonError = (status: number, code: number, message: string): Response => |
| 62 | jsonRpcErrorBody(status, code, message, { cors: false }); |
| 63 | |
| 64 | const formatBoundaryError = (error: unknown): unknown => { |
| 65 | // oxlint-disable-next-line executor/no-instanceof-error, executor/no-unknown-error-message -- boundary: MCP request handler catches unknown SDK/runtime failures for process logging |
no test coverage detected