<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
class TooManyRequestsException extends HTTPException
{
- protected $code = 429;
+ protected $code = 429;
+ protected $httpdesc = 'Too Many Requests';
+ protected $explanation = 'The user has sent too many requests in a given amount of time.';
}