{"record":{"id":"6b0de423a44c30b5","repo":"diegosouzapw/OmniRoute","slug":"combo-008","errorCode":"COMBO_008","errorMessage":"Combo target violates its provider or model family invariant","messagePattern":"Combo target violates its provider or model family invariant","errorType":"error_code","errorClass":null,"httpStatus":400,"severity":"error","filePath":"src/shared/constants/errorCodes.ts","lineNumber":191,"sourceCode":"    code: \"COMBO_005\",\n    message: \"Combo reference graph is invalid (cycle or excessive depth)\",\n    httpStatus: 400,\n    category: \"COMBO\",\n  },\n  COMBO_006: {\n    code: \"COMBO_006\",\n    message: \"This combo is managed by Quota Share and cannot be modified here\",\n    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  },","sourceCodeStart":173,"sourceCodeEnd":209,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/shared/constants/errorCodes.ts#L173-L209","documentation":"COMBO_008 (400): a target inside the combo breaks an invariant — e.g. a provider-family combo containing a target from another provider, or a model-family combo mixing incompatible model families. Structural consistency check, not a schema issue.","triggerScenarios":"Thrown at src/shared/constants/errorCodes.ts:191 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Remove targets that break the provider/model family invariant","Split the combo into per-family combos","Use a general-purpose strategy that permits mixed targets"],"exampleFix":null,"handlingStrategy":"validation","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"}