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.
2 parents 81acb92 + 46a136e commit d6bc8aeCopy full SHA for d6bc8ae
core/errors.md
@@ -75,7 +75,7 @@ api_platform:
75
exception_to_status:
76
# The 4 following handlers are registered by default, keep those lines to prevent unexpected side effects
77
Symfony\Component\Serializer\Exception\ExceptionInterface: 400 # Use a raw status code (recommended)
78
- ApiPlatform\Core\Exception\InvalidArgumentException: 'HTTP_BAD_REQUEST' # Or a `Symfony\Component\HttpFoundation\Response`'s constant
+ ApiPlatform\Core\Exception\InvalidArgumentException: !php/const Symfony\Component\HttpFoundation\Response::HTTP_BAD_REQUEST
79
ApiPlatform\Core\Exception\FilterValidationException: 400
80
Doctrine\ORM\OptimisticLockException: 409
81
0 commit comments