KarolGil
2 months ago
703
4
Laravel

Returning an error in JSON instead of 500

Posted 2 months ago by KarolGil

Hi,

Can you write general error returns? Ie. that Laravel instead of returning 500 error should be returned in JSON format. Regardless of where in the code the error occurs.

Please sign in or create an account to participate in this conversation.