We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2676692 commit 8e53551Copy full SHA for 8e53551
src/InvalidRequestPayloadException.php
@@ -3,8 +3,9 @@
3
namespace Fesor\RequestObject;
4
5
use Symfony\Component\Validator\ConstraintViolationListInterface;
6
+use Symfony\Component\Validator\Exception\ValidatorException;
7
-class InvalidRequestPayloadException extends \Exception
8
+class InvalidRequestPayloadException extends ValidatorException
9
{
10
private $requestObject;
11
@@ -18,8 +19,6 @@ class InvalidRequestPayloadException extends \Exception
18
19
*/
20
public function __construct(RequestObject $requestObject, ConstraintViolationListInterface $errors)
21
- parent::__construct();
22
-
23
$this->requestObject = $requestObject;
24
$this->errors = $errors;
25
}
0 commit comments