friendica-github/src/Network/HTTPException/TooManyRequestsException.php
2024-08-24 15:27:00 +02:00

17 lines
475 B
PHP

<?php
// Copyright (C) 2010-2024, the Friendica project
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
//
// SPDX-License-Identifier: AGPL-3.0-or-later
namespace Friendica\Network\HTTPException;
use Friendica\Network\HTTPException;
class TooManyRequestsException extends HTTPException
{
protected $code = 429;
protected $httpdesc = 'Too Many Requests';
protected $explanation = 'The user has sent too many requests in a given amount of time.';
}