Implements the Libero API error standard
Using Composer you can add the bundle as a dependency:
composer require libero/api-problem-bundle
If you're not using Symfony Flex, you'll need to enable the bundle in your application.
All exceptions are caught and turned into a
To modify the contents of the response, you can listen for the
Any remaining exceptions will be caught; unless the exception is an instance of Symfony's
HttpExceptionInterface, the response will be
500 Internal Server Error.