siestacat/symfony-json-error-response

Return a JsonResponse with error message or exception

1.0.4 2023-11-23 18:33 UTC

This package is auto-updated.

Last update: 2024-12-23 20:39:09 UTC


README

Install:

composer require siestacat/symfony-json-error-response

Usage:

use Siestacat\SymfonyJsonErrorResponse\JsonErrorResponse;


Tests:

git clone https://github.com/SiestaCat/symfony-json-error-response.git
cd symfony-json-error-response
composer install
composer run-script test