PHP Class yii\web\BadRequestHttpException
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.
Show file
Open project: yiisoft/yii2
Public Methods
Method Details
__construct()
public method
public __construct ( string $message = null, integer $code, Exception $previous = null ) |
$message |
string |
error message |
$code |
integer |
error code |
$previous |
Exception |
The previous exception used for the exception chaining. |