title: Custom 404 page in Lumen
body: <p>I'm new to Lumen and want to create an app with this framework. Now I have the problem that if some user enters a wrong url => <a href="http://www.example.com/abuot" rel="noreferrer">http://www.example.com/abuot</a> (wrong) => <a href="http://www.example.com/about" rel="noreferrer">http://www.example.com/about</a> (right),  I want to present a custom error page and it would be ideal happen within the middleware level.</p>
  
  <p>Furthermore, I am able to check if the current url is valid or not, but I am not sure how can I "make" the view within the middleware, the response()->view() won't work.</p>
  
  <p>Would be awesome if somebody can help.</p>