{"record":{"id":"3c335e7da35016a9","repo":"phacility/phabricator","slug":"err-not-found-3c335e","errorCode":"ERR_NOT_FOUND","errorMessage":"ERR_NOT_FOUND","messagePattern":"ERR_NOT_FOUND","errorType":"error_code","errorClass":"ConduitException","httpStatus":null,"severity":"error","filePath":"src/applications/diffusion/conduit/DiffusionGetRecentCommitsByPathConduitAPIMethod.php","lineNumber":54,"sourceCode":"      'ERR_NOT_FOUND' => pht('Repository was not found.'),\n    );\n  }\n\n  protected function defineReturnType() {\n    return 'nonempty list<string>';\n  }\n\n  protected function execute(ConduitAPIRequest $request) {\n    $drequest = DiffusionRequest::newFromDictionary(\n      array(\n        'user' => $request->getUser(),\n        'callsign' => $request->getValue('callsign'),\n        'path' => $request->getValue('path'),\n        'branch' => $request->getValue('branch'),\n      ));\n\n    if ($drequest === null) {\n        throw new ConduitException('ERR_NOT_FOUND');\n    }\n\n    $limit = nonempty(\n      $request->getValue('limit'),\n      self::DEFAULT_LIMIT);\n\n    $history_result = DiffusionQuery::callConduitWithDiffusionRequest(\n      $request->getUser(),\n      $drequest,\n      'diffusion.historyquery',\n      array(\n        'commit' => $drequest->getCommit(),\n        'path' => $drequest->getPath(),\n        'offset' => 0,\n        'limit' => $limit,\n        'needDirectChanges' => true,\n        'needChildChanges' => true,\n      ));","sourceCodeStart":36,"sourceCodeEnd":72,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/diffusion/conduit/DiffusionGetRecentCommitsByPathConduitAPIMethod.php#L36-L72","documentation":"Error \"ERR_NOT_FOUND\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/diffusion/conduit/DiffusionGetRecentCommitsByPathConduitAPIMethod.php:54 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":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}