Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
<?php
2
 
3
/**
4
 * Slim Framework (https://slimframework.com)
5
 *
6
 * @license https://github.com/slimphp/Slim/blob/4.x/LICENSE.md (MIT License)
7
 */
8
 
9
declare(strict_types=1);
10
 
11
namespace Slim\Exception;
12
 
13
class HttpBadRequestException extends HttpSpecializedException
14
{
15
    /**
16
     * @var int
17
     */
18
    protected $code = 400;
19
 
20
    /**
21
     * @var string
22
     */
23
    protected $message = 'Bad request.';
24
 
25
    protected string $title = '400 Bad Request';
26
    protected string $description = 'The server cannot or will not process ' .
27
        'the request due to an apparent client error.';
28
}