title: Laravel all exceptions to 404
body: <p>the question is simple. Using laravel 5.6</p>
  
  <p>I have for example, this route</p>
  
  <pre><code>Route::get('/services/{id}/{service}', ['as'=&gt; 'services.show', 'uses' =&gt; 'ServicesController@show']);
  </code></pre>
  
  <p>where inside controller I do some fancy logic.</p>
  
  <p>the question is: is there any other elegant way to throw a 404 when something fails inside the controller rather than the typical ErrorException page from laravel? (this is not the 404).</p>
  
  <p>An easy example could be the id is not inserted in the database, so that is making the app fails, not returning a 404.</p>
  
  <p>I guess one solution should be insert a try catch condition and if it fails render(404).. more or less..</p>