$this->renderable(function (Exception $e) { if ($e->getPrevious() instanceof IlluminateSessionTokenMismatchException) { return redirect()->route('login'); }; });