1 | <?php |
||
20 | final class InvalidRequestPropertiesException extends \LogicException |
||
21 | { |
||
22 | /** |
||
23 | * @var ConstraintViolationListInterface |
||
24 | */ |
||
25 | private $errors; |
||
26 | |||
27 | /** |
||
28 | * InvalidRequestPropertiesException constructor. |
||
29 | * |
||
30 | * @param RequestInterface $request |
||
31 | * @param ConstraintViolationListInterface $errors |
||
32 | * @param \Exception $previous |
||
33 | */ |
||
34 | public function __construct(RequestInterface $request, ConstraintViolationListInterface $errors, \Exception $previous = null) |
||
41 | |||
42 | /** |
||
43 | * @return ConstraintViolationListInterface |
||
44 | */ |
||
45 | public function getErrors() |
||
49 | } |
||
50 |