{"record":{"id":"5624f2a105add935","repo":"diegosouzapw/OmniRoute","slug":"executor-error","errorCode":"EXECUTOR_ERROR","errorMessage":"${msg}","messagePattern":"\\$\\{msg\\}","errorType":"http","errorClass":null,"httpStatus":502,"severity":"error","filePath":"open-sse/executors/theoldllm.ts","lineNumber":446,"sourceCode":"      const errorPayload = vercelMitigated\n        ? buildVercelMitigationError()\n        : buildErrorResponse(upstream.status, finalBody);\n      return this.executionResult(\n        input,\n        new Response(encoder.encode(errorPayload), {\n          status: upstream.status,\n          headers: { \"Content-Type\": \"application/json\" },\n        }),\n        body\n      );\n    } catch (err) {\n      const proxyUnavailable = err instanceof TheOldLlmProxyUnavailableError;\n      const msg = err instanceof Error ? err.message : String(err);\n      log?.error?.(\"THEOLDLLM\", `Executor error: ${msg}`);\n      const errorPayload = proxyUnavailable\n        ? buildProxyUnavailableError()\n        : JSON.stringify({\n            error: { message: msg, type: \"upstream_error\", code: \"EXECUTOR_ERROR\" },\n          });\n      return this.executionResult(\n        input,\n        new Response(encoder.encode(errorPayload), {\n          status: proxyUnavailable ? 503 : 502,\n          headers: { \"Content-Type\": \"application/json\" },\n        }),\n        body\n      );\n    }\n  }\n}\n\nexport default TheOldLlmExecutor;\n","sourceCodeStart":428,"sourceCodeEnd":461,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/open-sse/executors/theoldllm.ts#L428-L461","documentation":"Error \"${msg}\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at open-sse/executors/theoldllm.ts:446 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}