{"record":{"id":"d8b0ce929de624c1","repo":"phacility/phabricator","slug":"aborted-workflow-d8b0ce","errorCode":null,"errorMessage":"Aborted workflow.","messagePattern":"Aborted workflow\\.","errorType":"console","errorClass":"PhutilArgumentUsageException","httpStatus":null,"severity":"error","filePath":"src/applications/auth/management/PhabricatorAuthManagementRevokeWorkflow.php","lineNumber":160,"sourceCode":"            'Target \"%s\" is not a valid target to revoke credentials from. '.\n            'Usually, revoke from \"@username\".',\n            $from));\n      }\n    }\n\n    if ($is_everywhere && !$is_force) {\n      echo id(new PhutilConsoleBlock())\n        ->addParagraph(\n          pht(\n          'You are destroying an entire class of credentials. This may be '.\n          'very disruptive to users. You should normally do this only if '.\n          'you suspect there has been a widespread compromise which may '.\n          'have impacted everyone.'))\n        ->drawConsoleString();\n\n      $prompt = pht('Really destroy credentials everywhere?');\n      if (!phutil_console_confirm($prompt)) {\n        throw new PhutilArgumentUsageException(\n          pht('Aborted workflow.'));\n      }\n    }\n\n    foreach ($types as $type) {\n      $type->setViewer($viewer);\n      if ($is_everywhere) {\n        $count = $type->revokeAllCredentials();\n      } else {\n        $count = $type->revokeCredentialsFrom($target);\n      }\n\n      echo tsprintf(\n        \"%s\\n\",\n        pht(\n          'Destroyed %s credential(s) of type \"%s\".',\n          new PhutilNumber($count),\n          $type->getRevokerKey()));","sourceCodeStart":142,"sourceCodeEnd":178,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/auth/management/PhabricatorAuthManagementRevokeWorkflow.php#L142-L178","documentation":"Error \"Aborted workflow.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/auth/management/PhabricatorAuthManagementRevokeWorkflow.php:160 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"}