{"record":{"id":"b5b88c5f5dd203f9","repo":"phacility/phabricator","slug":"no-such-file-s","errorCode":null,"errorMessage":"No such file \"%s\"!","messagePattern":"No such file \"(.+?)\"!","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/files/conduit/FileConduitAPIMethod.php","lineNumber":15,"sourceCode":"<?php\n\nabstract class FileConduitAPIMethod extends ConduitAPIMethod {\n\n  final public function getApplication() {\n    return PhabricatorApplication::getByClass('PhabricatorFilesApplication');\n  }\n\n  protected function loadFileByPHID(PhabricatorUser $viewer, $file_phid) {\n    $file = id(new PhabricatorFileQuery())\n      ->setViewer($viewer)\n      ->withPHIDs(array($file_phid))\n      ->executeOne();\n    if (!$file) {\n      throw new Exception(pht('No such file \"%s\"!', $file_phid));\n    }\n\n    return $file;\n  }\n\n  protected function loadFileChunks(\n    PhabricatorUser $viewer,\n    PhabricatorFile $file) {\n    return $this->newChunkQuery($viewer, $file)\n      ->execute();\n  }\n\n  protected function loadFileChunkForUpload(\n    PhabricatorUser $viewer,\n    PhabricatorFile $file,\n    $start,\n    $end) {\n","sourceCodeStart":1,"sourceCodeEnd":33,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/files/conduit/FileConduitAPIMethod.php#L1-L33","documentation":"Error \"No such file \"%s\"!\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/files/conduit/FileConduitAPIMethod.php:15 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"}