Skip to content

Commit 3ab53c1

Browse files
Replace FilterValidationException with ValidationExceptionInterface (#1928)
1 parent 44e5cd2 commit 3ab53c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ api_platform:
105105
# The 4 following handlers are registered by default, keep those lines to prevent unexpected side effects
106106
Symfony\Component\Serializer\Exception\ExceptionInterface: 400 # Use a raw status code (recommended)
107107
ApiPlatform\Exception\InvalidArgumentException: !php/const Symfony\Component\HttpFoundation\Response::HTTP_BAD_REQUEST
108-
ApiPlatform\Exception\FilterValidationException: 400
108+
ApiPlatform\ParameterValidator\Exception\ValidationExceptionInterface: 400
109109
Doctrine\ORM\OptimisticLockException: 409
110110
111111
# Validation exception

0 commit comments

Comments
 (0)