bakaphp /
phalcon-api
| 1 | <?php |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace Gewaer\Exception; |
||
| 6 | |||
| 7 | use Gewaer\Http\Response; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Using this exception when the user is trying to process something incorrectly |
||
| 11 | * - Form validation |
||
| 12 | * - Login validation |
||
| 13 | */ |
||
| 14 | class BadRequestHttpException extends HttpException |
||
| 15 | {
|
||
| 16 | protected $httpCode = Response::FORBIDDEN; |
||
| 17 | protected $httpMessage = 'Forbidden'; |
||
| 18 | protected $data; |
||
| 19 | } |
||
| 20 |