. /** * Class for exception thrown when something was already handled. * Useful to use as a lock when handling a same something in different queues and only one should be attended * * @category Exception * @author Diogo Cordeiro * @copyright 2020 Free Software Foundation, Inc http://www.fsf.org * @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later */ defined('GNUSOCIAL') || die(); /** * Exception thrown when something was already handled. * * @copyright 2019 Free Software Foundation, Inc http://www.fsf.org * @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later */ class AlreadyHandledException extends ServerException { public function __construct($msg) { parent::__construct($msg, 202); } }