private function swishFails()
  {
    return function($isAjax, $code) {
      if ($code == 404) throw new NotFoundHttpException($isAjax, $code);
      throw new ClientErrorsException($isAjax, $code);
    };
  }
private function swishFails()
  {
    return function($isAjax, $code) {
      if ($code == 404) throw new NotFoundHttpException($isAjax, $code);
      throw new ClientErrorsException($isAjax, $code);
    };
  }
private function swishFails ( ) { return function ( $ isAjax , $ code ) { if ( $ code == 404 ) throw new NotFoundHttpException ( $ isAjax , $ code ) ; throw new ClientErrorsException ( $ isAjax , $ code ) ; } ; }
Handle swish fail event

@return void
Handle swish fail event