@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at upstream/main 18 lines 419 B view raw
1<?php 2 3final class PhabricatorSystemActionRateLimitException extends Exception { 4 5 private $action; 6 private $score; 7 8 public function __construct(PhabricatorSystemAction $action, $score) { 9 $this->action = $action; 10 $this->score = $score; 11 parent::__construct($action->getLimitExplanation()); 12 } 13 14 public function getRateExplanation() { 15 return $this->action->getRateExplanation($this->score); 16 } 17 18}