oup="Ungrouped">
      <a id="onBadRequest(request:&lt;?&gt;,error:&lt;?&gt;):scala.concurrent.Future[play.api.mvc.SimpleResult]"></a>
      <a id="onBadRequest(RequestHeader,String):Future[SimpleResult]"></a>
      <h4 class="signature">
      <span class="modifier_kind">
        <span class="modifier"></span>
        <span class="kind">def</span>
      </span>
      <span class="symbol">
        <span class="name">onBadRequest</span><span class="params">(<span name="request">request: <span class="extype" 