title: How to send custom messages for invalid paths in express.js?
body: <p>The below method in express.js</p>
  
  <pre><code>var express = require('express'), app = express();
  app.get('/users', function (req, res) {
      //Some logic
  }
  </code></pre>
  
  <p>can be accessed using URL</p>
  
  <pre><code>http://&lt;host-name&gt;:&lt;port&gt;/users
  </code></pre>
  
  <p>If invalid path such as http://:/invalid-path, I get the following response</p>
  
  <p>Cannot GET /invalid-path</p>
  
  <p>Is there a way to send customized messages for invalid paths in express.js? </p>