{"record":{"id":"4e410751fec851ae","repo":"phacility/phabricator","slug":"err-unsupported-vcs","errorCode":"ERR-UNSUPPORTED-VCS","errorMessage":"ERR-UNSUPPORTED-VCS","messagePattern":"ERR-UNSUPPORTED-VCS","errorType":"error_code","errorClass":"ConduitException","httpStatus":null,"severity":"error","filePath":"src/applications/diffusion/conduit/DiffusionQueryConduitAPIMethod.php","lineNumber":69,"sourceCode":"      );\n  }\n\n  /**\n   * Subclasses should override this to specify custom param types.\n   */\n  protected function defineCustomParamTypes() {\n    return array();\n  }\n\n  /**\n   * Subclasses should override these methods with the proper result for the\n   * pertinent version control system, e.g. getGitResult for Git.\n   *\n   * If the result is not supported for that VCS, do not implement it. e.g.\n   * Subversion (SVN) does not support branches.\n   */\n  protected function getGitResult(ConduitAPIRequest $request) {\n    throw new ConduitException('ERR-UNSUPPORTED-VCS');\n  }\n  protected function getSVNResult(ConduitAPIRequest $request) {\n    throw new ConduitException('ERR-UNSUPPORTED-VCS');\n  }\n  protected function getMercurialResult(ConduitAPIRequest $request) {\n    throw new ConduitException('ERR-UNSUPPORTED-VCS');\n  }\n\n  /**\n   * This method is final because most queries will need to construct a\n   * @{class:DiffusionRequest} and use it. Consolidating this codepath and\n   * enforcing @{method:getDiffusionRequest} works when we need it is good.\n   *\n   * @{method:getResult} should be overridden by subclasses as necessary, e.g.\n   * there is a common operation across all version control systems that\n   * should occur after @{method:getResult}, like formatting a timestamp.\n   */\n  final protected function execute(ConduitAPIRequest $request) {","sourceCodeStart":51,"sourceCodeEnd":87,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/diffusion/conduit/DiffusionQueryConduitAPIMethod.php#L51-L87","documentation":"Error \"ERR-UNSUPPORTED-VCS\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/diffusion/conduit/DiffusionQueryConduitAPIMethod.php:69 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"}