{"record":{"id":"8ba50933de9e4a87","repo":"diegosouzapw/OmniRoute","slug":"internal-001","errorCode":"INTERNAL_001","errorMessage":"Internal server error","messagePattern":"Internal server error","errorType":"error_code","errorClass":null,"httpStatus":500,"severity":"error","filePath":"src/shared/constants/errorCodes.ts","lineNumber":199,"sourceCode":"    httpStatus: 409,\n    category: \"COMBO\",\n  },\n  COMBO_007: {\n    code: \"COMBO_007\",\n    message: \"Combo not found\",\n    httpStatus: 404,\n    category: \"COMBO\",\n  },\n  COMBO_008: {\n    code: \"COMBO_008\",\n    message: \"Combo target violates its provider or model family invariant\",\n    httpStatus: 400,\n    category: \"COMBO\",\n  },\n\n  // ── Internal ──\n  INTERNAL_001: {\n    code: \"INTERNAL_001\",\n    message: \"Internal server error\",\n    httpStatus: 500,\n    category: \"INTERNAL\",\n  },\n  INTERNAL_002: {\n    code: \"INTERNAL_002\",\n    message: \"Database error\",\n    httpStatus: 500,\n    category: \"INTERNAL\",\n  },\n  INTERNAL_003: {\n    code: \"INTERNAL_003\",\n    message: \"Circuit breaker open\",\n    httpStatus: 503,\n    category: \"INTERNAL\",\n  },\n};\n","sourceCodeStart":181,"sourceCodeEnd":217,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/shared/constants/errorCodes.ts#L181-L217","documentation":"INTERNAL_001 (500): unhandled exception inside OmniRoute — a bug or unexpected runtime state escaped the handler's guards. The response body is sanitized (no stack traces) per the error-sanitization policy.","triggerScenarios":"Thrown at src/shared/constants/errorCodes.ts:199 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check server logs with the returned requestId for the real stack","Retry once — rare transient states can trigger this","Report the issue with requestId and request shape if reproducible"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}