Weekend Laravel Improvements
Taylor Otwell
24012

How does exception handling work? Does it searches class with similar name in App\Exceptions?

For example I need render Illuminate\Database\QueryException, do I need to create App\Exceptions\QueryException? If so, how does it handle cases with similar class name but different namespaces? For example Illuminate\Database\QueryException and Vendor\Namespace\QueryException.

Also I hope there will be make:exception command.

Thanks.

Show your support

Clapping shows how much you appreciated Victor Isadov’s story.