Page MenuHomec4science

PhabricatorSystemActionRateLimitException.php
No OneTemporary

File Metadata

Created
Wed, Aug 21, 21:16

PhabricatorSystemActionRateLimitException.php

<?php
final class PhabricatorSystemActionRateLimitException extends Exception {
private $action;
private $score;
public function __construct(PhabricatorSystemAction $action, $score) {
$this->action = $action;
$this->score = $score;
parent::__construct($action->getLimitExplanation());
}
public function getRateExplanation() {
return $this->action->getRateExplanation($this->score);
}
}

Event Timeline