title: Laravel 5.5 exception handle custom view
body: <p>In App\Exceptions\Handler I'd like to return a custom view depending of which HTTP status codes I get.</p>
  
  <p>I'd like to do something like, <em>if statuscode == 404 return 404 view</em> etc but I can't find the proper syntax, and I start wondering if the Handler Class is the right place to do this.</p>
  
  <pre><code>public function render($request, Exception $exception)
  {
      if (App::environment('local')) {
          return parent::render($request, $exception);
      }
  
      // what do I do here ?
  
  }
  </code></pre>