protected function renderHttpException(HttpException $error) {
		if ($this->isJsonApiRequest()) {
			return $this->renderHttpAsJsonApi($error);
		}

		if ($this->isJsonRequest()) {
			return $this->renderHttpAsJson($error);
		}

		return $this->defaultHttpRender($error);
	}
protected function renderHttpException(HttpException $error) {
		if ($this->isJsonApiRequest()) {
			return $this->renderHttpAsJsonApi($error);
		}

		if ($this->isJsonRequest()) {
			return $this->renderHttpAsJson($error);
		}

		return $this->defaultHttpRender($error);
	}
protected function renderHttpException ( HttpException $ error ) { if ( $ this -> isJsonApiRequest ( ) ) { return $ this -> renderHttpAsJsonApi ( $ error ) ; } if ( $ this -> isJsonRequest ( ) ) { return $ this -> renderHttpAsJson ( $ error ) ; } return $ this -> defaultHttpRender ( $ error ) ; }
render exceptions of type HttpException

@param HttpException $error the HttpException error to render
@return void
render exceptions of type HttpException