mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-06 23:39:02 +01:00
Adds docblock comments and HTTP spec links for the new HTTP Exception classes (#2103)
This commit is contained in:
@@ -8,8 +8,13 @@
|
||||
namespace yii\web;
|
||||
|
||||
/**
|
||||
* TooManyRequestsHttpException represents a "Too Many Requests" HTTP exception with status code 429.
|
||||
* TooManyRequestsHttpException represents a "Too Many Requests" HTTP exception with status code 429
|
||||
*
|
||||
* Use this exception to indicate that a client has made too many requests in a
|
||||
* given period of time. For example, you would throw this exception when
|
||||
* 'throttling' an API user.
|
||||
*
|
||||
* @link http://tools.ietf.org/search/rfc6585#section-4
|
||||
* @author Dan Schmidt <danschmidt5189@gmail.com>
|
||||
* @since 2.0
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user