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 you cant save a entity |
||
| 11 | */ |
||
| 12 | class UnprocessableEntityHttpException extends HttpException |
||
| 13 | {
|
||
| 14 | protected $httpCode = Response::NOT_ACCEPTABLE; |
||
| 15 | protected $httpMessage = 'Not Acceptable'; |
||
| 16 | protected $data; |
||
| 17 | } |
||
| 18 |