{"record":{"id":"cac220de0b09384d","repo":"phacility/phabricator","slug":"you-can-not-resign-from-this-revision-because-you-cac220","errorCode":null,"errorMessage":"You can not resign from this revision because you are not a reviewer, and do not have authority over any reviewer.","messagePattern":"You can not resign from this revision because you are not a reviewer, and do not have authority over any reviewer\\.","errorType":"validation","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/differential/xaction/DifferentialRevisionResignTransaction.php","lineNumber":79,"sourceCode":"\n  protected function validateAction($object, PhabricatorUser $viewer) {\n    if ($object->isClosed()) {\n      throw new Exception(\n        pht(\n          'You can not resign from this revision because it has already '.\n          'been closed. You can only resign from open revisions.'));\n    }\n\n    $resigned = DifferentialReviewerStatus::STATUS_RESIGNED;\n    if ($this->getViewerReviewerStatus($object, $viewer) == $resigned) {\n      throw new Exception(\n        pht(\n          'You can not resign from this revision because you have already '.\n          'resigned.'));\n    }\n\n    if (!$this->isViewerAnyAuthority($object, $viewer)) {\n      throw new Exception(\n        pht(\n          'You can not resign from this revision because you are not a '.\n          'reviewer, and do not have authority over any reviewer.'));\n    }\n  }\n\n  public function getTitle() {\n    return pht(\n      '%s resigned from this revision.',\n      $this->renderAuthor());\n  }\n\n  public function getTitleForFeed() {\n    return pht(\n      '%s resigned from %s.',\n      $this->renderAuthor(),\n      $this->renderObject());\n  }","sourceCodeStart":61,"sourceCodeEnd":97,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/differential/xaction/DifferentialRevisionResignTransaction.php#L61-L97","documentation":"Error \"You can not resign from this revision because you are not a reviewer, and do not have authority over any reviewer.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/differential/xaction/DifferentialRevisionResignTransaction.php:79 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"}