John Kariuki wrote a tutorial on how to how to create a Laravel 404 page using custom exception handlers.

laravel custom exception handler

One main advantage of having all exceptions caught by a single class is that we are able to create custom exception handlers that return different response messages depending on the exception.

In this tutorial, we will look at how to create a custom exception handler in Laravel 5.2 and how to return a 404 page depending on the Exception.