0

I need to produce some proper custom error response in json format when I receive php fatal error instead of standard 500 in Laravel 8+.

How can I achieve the this outcome. Console output

Rajesh
  • 27
  • 4

1 Answers1

-1

You can use Exception. Read the documentation