title: No action was found on the controller ApiController
body: <p>For my API, I want to be able to handle scenarios where the call is made using an incorrect URL (i.e. URL that does not match any controller or action.)</p>
  
  <p>For this I have implemented routing so that it matches any route:
  </p>
  
  <pre><code>config.Routes.MapHttpRoute(
      name: "CatchAll",
      routeTemplate: "{*any}",
      defaults: new { controller = "Error", action = "Handler" }
  );
  </code></pre>
  
  <p>And I have implemented the controller - action as follows:</p>
  
  
  
  <pre><code>[Route("api/v1/Handler")]
  [ActionName("Handler")]
  public HttpResponseMessage Get() {...}
  </code></pre>
  
  <p>When I give an incorrect URL, I get the message:</p>
  
  <blockquote>
    <p>No action was found on the controller 'Error' that matches the name 'Handler'</p>
  </blockquote>
  
  <p>Not sure where the mistake is.</p>