X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2FHTTPException%2FTooManyRequestsException.php;h=0facc627a4c2fb8afe6ecd362da0adbe88126787;hb=1874a32728142f2c12724562eb122eb1cd1370fe;hp=e06d9d9cbf00a581779287f2af032d7392f10ec3;hpb=f1e7d97b8cae93e1c77f5a5085880409b01fcdbe;p=friendica.git diff --git a/src/Network/HTTPException/TooManyRequestsException.php b/src/Network/HTTPException/TooManyRequestsException.php index e06d9d9cbf..0facc627a4 100644 --- a/src/Network/HTTPException/TooManyRequestsException.php +++ b/src/Network/HTTPException/TooManyRequestsException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; @@ -6,5 +25,7 @@ use Friendica\Network\HTTPException; 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.'; }