public function build(int $httpCode = 200)
    {
        //Lo primero que todo
        $this->buildException();

        if($this->log){
            $this->renderLog();
        }

        if(!$this->showDetails){
            $this->getException()->setDetails(null);
        }

        if(!$this->showErrors){
            $this->getException()->setErrors(null);
        }

        $this->getException()->setHttpCode($httpCode);

        throw $this->getException();
    }