Esempio n. 1
0
 /**
  * @param \Illuminate\Http\Request $request
  * @param Exception $e
  * @return mixed
  */
 public function render($request, Exception $e)
 {
     if ($e instanceof \Symfony\Component\HttpKernel\Exception\NotFoundHttpException) {
         $api = new ApiController();
         return $api->respondNotFound($message = 'Not Found');
     }
 }