mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
Adds docblock comments and HTTP spec links for the new HTTP Exception classes (#2103)
This commit is contained in:
@ -10,6 +10,12 @@ namespace yii\web;
|
||||
/**
|
||||
* BadRequestHttpException represents a "Bad Request" HTTP exception with status code 400.
|
||||
*
|
||||
* Use this exception to represent a generic client error. In many cases, there
|
||||
* may be an HTTP exception that more precisely describes the error. In that
|
||||
* case, consider using the more precise exception to provide the user with
|
||||
* additional information.
|
||||
*
|
||||
* @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1
|
||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||
* @since 2.0
|
||||
*/
|
||||
|
Reference in New Issue
Block a user